Module: Sinatra::RoutingHelpers
- Defined in:
- lib/sinatra/routing-helpers.rb,
lib/sinatra/routing-helpers/version.rb
Defined Under Namespace
Modules: HelperMethods
Constant Summary collapse
- VERSION =
"0.0.9"
Class Method Summary collapse
Class Method Details
.registered(app) ⇒ Object
81 82 83 84 85 86 87 88 |
# File 'lib/sinatra/routing-helpers.rb', line 81 def self.registered(app) app.helpers HelperMethods # block some things from the URL app.set :params_blacklist, [ :password, :_csrf, :ip ] end |