forked from External/greenlight
initial commit
This commit is contained in:
9
app/controllers/main_controller.rb
Normal file
9
app/controllers/main_controller.rb
Normal file
@ -0,0 +1,9 @@
|
||||
class MainController < ApplicationController
|
||||
|
||||
# GET /
|
||||
def index
|
||||
# If the user is logged in already, move them along to their room.
|
||||
redirect_to room_path(current_user.room.uid) if current_user
|
||||
end
|
||||
|
||||
end
|
Reference in New Issue
Block a user