Class: Authority::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Authority::Generators::InstallGenerator
- Defined in:
- lib/generators/authority/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_forbidden ⇒ Object
15 16 17 |
# File 'lib/generators/authority/install_generator.rb', line 15 def copy_forbidden template "403.html", "public/403.html" end |
#copy_initializer ⇒ Object
11 12 13 |
# File 'lib/generators/authority/install_generator.rb', line 11 def copy_initializer template "authority.rb", "config/initializers/authority.rb" end |