Class: Alchemy::Generators::ViewsGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/rails/generators/alchemy/views/views_generator.rb

Constant Summary collapse

ALCHEMY_VIEWS =
%w(breadcrumb language_links messages navigation)

Instance Method Summary collapse

Instance Method Details

#copy_alchemy_viewsObject



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

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