class RailsModularAdmin::Generators::ViewsGenerator
Public Instance Methods
copy_auth_layout()
click to toggle source
# File lib/generators/rails_modular_admin/views_generator.rb, line 10 def copy_auth_layout copy_file "auth.html.erb", "app/views/layouts/auth.html.erb" end
copy_login_view()
click to toggle source
# File lib/generators/rails_modular_admin/views_generator.rb, line 14 def copy_login_view copy_file "login.html.erb", "app/views/devise/sessions/new.html.erb" end
copy_recover_view()
click to toggle source
# File lib/generators/rails_modular_admin/views_generator.rb, line 22 def copy_recover_view copy_file "recover.html.erb", "app/views/devise/registrations/new.html.erb" end
copy_register_view()
click to toggle source
# File lib/generators/rails_modular_admin/views_generator.rb, line 18 def copy_register_view copy_file "register.html.erb", "app/views/devise/registrations/new.html.erb" end