Class: Adminable::Generators::PartialGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Adminable::Generators::PartialGenerator
- Defined in:
- lib/generators/adminable/partial_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_partial ⇒ Object
12 13 14 15 16 17 |
# File 'lib/generators/adminable/partial_generator.rb', line 12 def copy_partial template( File.join(partial_path), File.join('app/views/adminable', resource, partial_path) ) end |