49 50 51 52 53 54 55
# File 'lib/deas/trailing_slashes.rb', line 49 def self.run(env) if env['PATH_INFO'][-1..-1] == Deas::Router::SLASH [302, { 'Location' => env['PATH_INFO'][0..-2] }, ['']] else yield end end