Class: Header::Generators::PagesGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Header::Generators::PagesGenerator
- Defined in:
- lib/generators/header/pages_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_error_pages ⇒ Object
8 9 10 11 12 13 |
# File 'lib/generators/header/pages_generator.rb', line 8 def copy_error_pages copy_file "403.html", "public/403.html" copy_file "404.html", "public/404.html" copy_file "500.html", "public/500.html" copy_file "502.html", "public/502.html" end |