diff --git a/lib/dashing.rb b/lib/dashing.rb index 935a031a..f5b60cad 100644 --- a/lib/dashing.rb +++ b/lib/dashing.rb @@ -56,6 +56,7 @@ def protected! end get '/' do + protected! begin redirect "/" + (settings.default_dashboard || first_dashboard).to_s rescue NoMethodError => e