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