Class: Alchemy::Generators::ViewsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Alchemy::Generators::ViewsGenerator
- Defined in:
- lib/generators/alchemy/views/views_generator.rb
Constant Summary collapse
- ALCHEMY_VIEWS =
%w[breadcrumb language_links messages_mailer]
Instance Method Summary collapse
Instance Method Details
#copy_alchemy_views ⇒ Object
24 25 26 27 28 |
# File 'lib/generators/alchemy/views/views_generator.rb', line 24 def copy_alchemy_views views_to_copy.each do |dir| directory dir, Rails.root.join("app/views/alchemy", dir) end end |