module Sinatra::Namespace::InstanceMethods

Public Instance Methods

redirect_to(uri, *args) click to toggle source
# File lib/sinatra/namespace.rb, line 212
def redirect_to(uri, *args)
  redirect("#{@namespace.pattern}#{uri}", *args)
end
settings() click to toggle source
# File lib/sinatra/namespace.rb, line 204
def settings
  @namespace
end
template_cache() click to toggle source
Calls superclass method
# File lib/sinatra/namespace.rb, line 208
def template_cache
  super.fetch(:nested, @namespace) { Tilt::Cache.new }
end