lib/osso/routes/admin.rb in osso-0.0.3.19 vs lib/osso/routes/admin.rb in osso-0.0.3.20
- old
+ new
@@ -11,17 +11,23 @@
before do
chomp_token
end
namespace '/admin' do
+ get '/login' do
+ token_protected!
+
+ erb :admin
+ end
+
get '' do
internal_protected!
erb :admin
end
get '/enterprise' do
- internal_protected!
+ token_protected!
erb :admin
end
get '/enterprise/:domain' do