Class: Alchemy::Generators::ViewsGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
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_viewsObject


23
24
25
26
27
# File 'lib/generators/alchemy/views/views_generator.rb', line 23

def copy_alchemy_views
  views_to_copy.each do |dir|
    directory dir, Rails.root.join("app/views/alchemy", dir)
  end
end