See: https://github.com/hanami/router/issues/256
@@ -12,4 +12,10 @@ use Rack::Session::Cookie,
:expire_after => 3600*24,
:secret => ENV["SESSION_SECRET"]
require "rack/rewrite"
use Rack::Rewrite do
# remove trailing slashes
r302 %r{(/.*)/(\?.*)?$}, "$1$2"
end
run Hanami.app
The note is not visible to the blocked user.