Class: MainController

Inherits:
ApplicationController show all
Defined in:
app/controllers/main_controller.rb

Instance Method Summary collapse

Instance Method Details

#homeObject



2
3
4
# File 'app/controllers/main_controller.rb', line 2

def home
  redirect_to root_path unless current_user
end