Public Instance methods
exception_page_assets()
Serve exception page assets
[show source]
# File lib/roda/plugins/exception_page.rb 436 def exception_page_assets 437 get 'exception_page.css' do 438 response[RodaResponseHeaders::CONTENT_TYPE] = "text/css" 439 scope.exception_page_css 440 end 441 get 'exception_page.js' do 442 response[RodaResponseHeaders::CONTENT_TYPE] = "application/javascript" 443 scope.exception_page_js 444 end 445 end