Skip to content

Instantly share code, notes, and snippets.

@namusyaka namusyaka/gist:8265452
Last active Dec 15, 2017

Embed
What would you like to do?
BetterErrors with Padrino 0.12
module Foobar
class App < Padrino::Application
enable :sessions
configure :development do
use BetterErrors::Middleware
BetterErrors.application_root = PADRINO_ROOT
set :protect_from_csrf, except: %r{/__better_errors/\d+/\w+\z}
end
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.