Class: OpenStax::Accounts::Dev::UsersController
- Inherits:
-
DevController
- Object
- ActionController::Base
- ApplicationController
- DevController
- OpenStax::Accounts::Dev::UsersController
- Defined in:
- app/controllers/openstax/accounts/dev/users_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#become ⇒ Object
13 14 15 16 |
# File 'app/controllers/openstax/accounts/dev/users_controller.rb', line 13 def become sign_in(User.find(params[:user_id])) redirect_to return_url(true) end |
#login ⇒ Object
6 |
# File 'app/controllers/openstax/accounts/dev/users_controller.rb', line 6 def login; end |
#search ⇒ Object
8 9 10 11 |
# File 'app/controllers/openstax/accounts/dev/users_controller.rb', line 8 def search handle_with(OpenStax::Accounts::Dev::UsersSearch, complete: lambda { render 'search' }) end |