lib/grover/middleware.rb in grover-0.4.3 vs lib/grover/middleware.rb in grover-0.4.4

- old
+ new

@@ -81,9 +81,10 @@ env['rack.url_scheme'] end def path_without_extension return @path_without_extension if defined? @path_without_extension + path = @request.path.sub(PDF_REGEX, '') @path_without_extension = path.sub(@request.script_name, '') end def request_url