Class: Decidim::DirectVerifications::Verification::Admin::AuthorizationsController
- Inherits:
-
Admin::ApplicationController
- Object
- Admin::ApplicationController
- Decidim::DirectVerifications::Verification::Admin::AuthorizationsController
- Defined in:
- app/controllers/decidim/direct_verifications/verification/admin/authorizations_controller.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
15 16 17 18 19 20 |
# File 'app/controllers/decidim/direct_verifications/verification/admin/authorizations_controller.rb', line 15 def destroy if .destroy flash[:notice] = "successfully" redirect_to end end |
#index ⇒ Object
10 11 12 13 |
# File 'app/controllers/decidim/direct_verifications/verification/admin/authorizations_controller.rb', line 10 def index :index, :authorization @authorizations = collection.includes(:user) end |