Class: Decidim::AccessRequests::Verification::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- Decidim::AccessRequests::Verification::Engine
- Defined in:
- lib/decidim/access_requests/verification/engine.rb
Overview
This is an engine that performs user authorization.
Instance Method Summary collapse
Instance Method Details
#load_seed ⇒ Object
22 23 24 25 26 27 |
# File 'lib/decidim/access_requests/verification/engine.rb', line 22 def load_seed # Enable the `:access_requests` authorization org = Decidim::Organization.first org. << :access_requests org.save! end |