Class: WelcomeController

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

Instance Method Summary collapse

Methods inherited from ApplicationController

#show_site_search?, #sufia, with_themed_layout

Instance Method Details

#indexObject



7
8
9
# File 'app/controllers/welcome_controller.rb', line 7

def index
  respond_with
end

#newObject



11
12
13
14
15
16
17
# File 'app/controllers/welcome_controller.rb', line 11

def new
  if first_time_login?
    redirect_to new_classify_concern_path
  else
    redirect_to dashboard_index_path
  end
end