Class: Gemgento::User::RegistrationSessionController
- Inherits:
-
BaseController
- Object
- ApplicationController
- ApplicationController
- BaseController
- Gemgento::User::RegistrationSessionController
- Defined in:
- app/controllers/gemgento/user/registration_session_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
15 16 17 18 19 20 21 22 23 24 |
# File 'app/controllers/gemgento/user/registration_session_controller.rb', line 15 def create case params[:activity] when 'sign_in' create_session when 'register' create_registration else raise "Unknown action - #{params[:activity]}" end end |