Public Instance methods
exception_page_assets()
Serve exception page assets
[show source]
# File lib/roda/plugins/exception_page.rb 430 def exception_page_assets 431 get 'exception_page.css' do 432 response[RodaResponseHeaders::CONTENT_TYPE] = "text/css" 433 scope.exception_page_css 434 end 435 get 'exception_page.js' do 436 response[RodaResponseHeaders::CONTENT_TYPE] = "application/javascript" 437 scope.exception_page_js 438 end 439 end