Module: Roda::RodaPlugins::ExceptionPage::RequestMethods
- Defined in:
- lib/roda/plugins/exception_page.rb
Instance Method Summary collapse
-
#exception_page_assets ⇒ Object
Serve exception page assets.
Instance Method Details
#exception_page_assets ⇒ Object
Serve exception page assets
404 405 406 407 408 409 410 411 412 413 |
# File 'lib/roda/plugins/exception_page.rb', line 404 def exception_page_assets get 'exception_page.css' do response['Content-Type'] = "text/css" ExceptionPage.css end get 'exception_page.js' do response['Content-Type'] = "application/javascript" ExceptionPage.js end end |