class MrCommon::AdminGenerator
Public Instance Methods
copy_skeleton_views()
click to toggle source
# File lib/generators/mr_common/admin/admin_generator.rb, line 7 def copy_skeleton_views template_paths.each do |file| copy_file file, file end end
Private Instance Methods
template_paths()
click to toggle source
# File lib/generators/mr_common/admin/admin_generator.rb, line 15 def template_paths %w( app/controllers/mr_common/registrations/registrations_controller.rb app/views/mr_common/registrations/registrations/_form.html.erb app/views/mr_common/registrations/registrations/edit.html.erb app/views/mr_common/registrations/registrations/index.html.erb app/views/mr_common/registrations/registrations/new.html.erb app/views/mr_common/registrations/registrations/show.html.erb ) end