lib/osso/routes/admin.rb in osso-0.0.5.pre.eta vs lib/osso/routes/admin.rb in osso-0.0.5.pre.gamma
- old
+ new
@@ -14,40 +14,40 @@
namespace '/admin' do
get '/login' do
token_protected!
- erb :admin, layout: false
+ erb :admin
end
get '' do
internal_protected!
- erb :admin, layout: false
+ erb :admin
end
get '/enterprise' do
token_protected!
- erb :admin, layout: false
+ erb :admin
end
get '/enterprise/:domain' do
enterprise_protected!(params[:domain])
- erb :admin, layout: false
+ erb :admin
end
get '/config' do
admin_protected!
- erb :admin, layout: false
+ erb :admin
end
get '/config/:id' do
admin_protected!
- erb :admin, layout: false
+ erb :admin
end
end
end
end