lib/ruby_app/request.rb in RubyApp-0.6.66 vs lib/ruby_app/request.rb in RubyApp-0.6.67

- old
+ new

@@ -10,10 +10,10 @@ extend RubyApp::Mixins::DelegateMixin attr_reader :environment def language - self.path.gsub(/^#{RubyApp.root_or_nil}/,'') =~ /^\/([^\/\?]+)/ + self.path.gsub(/^#{RubyApp::Application.root_or_nil}/,'') =~ /^\/([^\/\?]+)/ return $1 end def query return ::Rack::Utils.parse_query(self.query_string)