Class: Adminterface::Generators::ViewsGenerator

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

Instance Method Summary collapse

Instance Method Details

#copyObject



7
8
9
10
11
12
# File 'lib/generators/adminterface/views/views_generator.rb', line 7

def copy
  directory "active_admin", "app/views/active_admin"
  directory "kaminari/active_admin", "app/views/kaminari/active_admin"
  directory "layouts/active_admin_logged_out.html.erb",
    "app/views/layouts/active_admin_logged_out.html.erb"
end