Class: Iron::FirstRunsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Iron::FirstRunsController
- Defined in:
- app/controllers/iron/first_runs_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
13 14 15 16 17 18 |
# File 'app/controllers/iron/first_runs_controller.rb', line 13 def create user = FirstRun.create!(user_params) start_new_session_for user redirect_to root_url end |
#show ⇒ Object
9 10 11 |
# File 'app/controllers/iron/first_runs_controller.rb', line 9 def show @user = User.new end |