Member predicate Sinatra::Filter::getPattern
Gets the pattern which constrains this route, if any. In the example below, the pattern is /protected/*.
Patterns are typically given as strings, and are interpreted by the mustermann gem (they are not regular expressions).
before '/protected/*' do
authenticate!
end