Class: Admin::AuthorizedTokensController
- Inherits:
-
BaseController
- Object
- BaseController
- Admin::AuthorizedTokensController
- Defined in:
- app/controllers/org/admin/authorized_tokens_controller.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
24 25 26 |
# File 'app/controllers/org/admin/authorized_tokens_controller.rb', line 24 def destroy @authorized_token.destroy end |
#edit ⇒ Object
13 14 |
# File 'app/controllers/org/admin/authorized_tokens_controller.rb', line 13 def edit end |
#index ⇒ Object
6 7 8 |
# File 'app/controllers/org/admin/authorized_tokens_controller.rb', line 6 def index @authorized_tokens = @member. end |
#show ⇒ Object
10 11 |
# File 'app/controllers/org/admin/authorized_tokens_controller.rb', line 10 def show end |
#update ⇒ Object
16 17 18 19 20 21 22 |
# File 'app/controllers/org/admin/authorized_tokens_controller.rb', line 16 def update @authorized_token.assign_attributes() unless @authorized_token.save render :edit, locals: { model: @authorized_token }, status: :unprocessable_entity end end |