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
420 421 422 423 424 425 426 427 428 429 |
# File 'lib/roda/plugins/exception_page.rb', line 420 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 |