jam-cloud/app/controllers/clients_controller.rb

17 lines
397 B
Ruby

class ClientsController < ApplicationController
include UsersHelper
# have to be signed in currently to see this screen
before_filter :signed_in_user
def index
# use gon to pass variables into javascript
gon.websocket_gateway_uri = Rails.application.config.websocket_gateway_uri
# don't use the rails tutorial layout for this page
render :layout => 'client'
end
end