Class: TusurHeader::Generators::ErrorPagesGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- TusurHeader::Generators::ErrorPagesGenerator
- Defined in:
- lib/generators/tusur_header/error_pages_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_error_pages ⇒ Object
8 9 10 11 12 13 |
# File 'lib/generators/tusur_header/error_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 |