Class: Erb::Generators::ActsAsApprovableGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Erb::Generators::ActsAsApprovableGenerator
- Includes:
- ActsAsApprovable::Generators::Base
- Defined in:
- lib/generators/erb/acts_as_approvable_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_view_files ⇒ Object
13 14 15 16 17 |
# File 'lib/generators/erb/acts_as_approvable_generator.rb', line 13 def copy_view_files template 'index.html.erb', 'app/views/approvals/index.html.erb' template '_table.html.erb', 'app/views/approvals/_table.html.erb' template '_owner_select.html.erb', 'app/views/approvals/_owner_select.html.erb' if owner? end |