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