Skip to content
This repository was archived by the owner on Mar 7, 2018. It is now read-only.

Commit 06ba2ea

Browse files
author
David Rubin
committed
Authenticate / route as to not leak private dashboard url
1 parent 60a3ddf commit 06ba2ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/dashing.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def protected!
5656
end
5757

5858
get '/' do
59+
protected!
5960
begin
6061
redirect "/" + (settings.default_dashboard || first_dashboard).to_s
6162
rescue NoMethodError => e

0 commit comments

Comments
 (0)