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
390 391 392 393 394 395 396 397 398 399 |
# File 'lib/roda/plugins/exception_page.rb', line 390 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 |