lib/generators/rambulance/templates/rambulance.rb in rambulance-0.3.0 vs lib/generators/rambulance/templates/rambulance.rb in rambulance-0.3.1
- old
+ new
@@ -20,12 +20,12 @@
# "Pundit::NotAuthorizedError" => :forbidden,
# "YourCustomException" => :not_found
}
# The template name for the layout of the error pages. The default value is
- # 'application'. For exmaple, if this value is set to "error_page", Rambulance uses
+ # 'error'. For exmaple, if this value is set to "error_page", Rambulance uses
# 'app/views/layout/error_page.html.erb' as a layout for all the error pages.
- config.layout_name = "<%= layout_name %>"
+ config.layout_name = "error"
# The directry name to organize error page templates. The default value is
# 'errors'. For exmaple, if this value is set to "error_pages", Rambulance
# uses e.g. 'app/views/error_pages/not_found.html.erb'.
config.view_path = "errors"