Module: Sinatra::Namespace::InstanceMethods
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/sinatra-contrib-3.0.5/lib/sinatra/namespace.rb
Instance Method Summary collapse
Instance Method Details
#redirect_to(uri, *args) ⇒ Object
216 217 218 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/sinatra-contrib-3.0.5/lib/sinatra/namespace.rb', line 216 def redirect_to(uri, *args) redirect("#{@namespace.pattern}#{uri}", *args) end |
#settings ⇒ Object
208 209 210 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/sinatra-contrib-3.0.5/lib/sinatra/namespace.rb', line 208 def settings @namespace end |