Class: KisoThemes::Generators::ErrorPagesGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/kiso_themes/error_pages_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_stylesheetObject



11
12
13
14
15
16
# File 'lib/generators/kiso_themes/error_pages_generator.rb', line 11

def copy_stylesheet
  copy_file "403.html.erb", "public/403.html"
  copy_file "404.html.erb", "public/404.html"
  copy_file "422.html.erb", "public/422.html"
  copy_file "500.html.erb", "public/500.html"
end