jam-cloud/web/app/controllers/ping_controller.rb

32 lines
493 B
Ruby

class PingController < ApplicationController
layout "ping.jnlp"
JNLP = 'application/x-java-jnlp-file'
def index
render 'ping', :layout => false
end
def at
render 'pingat.jnlp', :content_type => JNLP
end
def cc
render 'pingcc.jnlp', :content_type => JNLP
end
def no
render 'pingno.jnlp', :content_type => JNLP
end
def tw
render 'pingtw.jnlp', :content_type => JNLP
end
def vz
render 'pingvz.jnlp', :content_type => JNLP
end
end