lib/osso/routes/admin.rb in osso-0.0.3.3 vs lib/osso/routes/admin.rb in osso-0.0.3.4
- old
+ new
@@ -12,24 +12,20 @@
end
get '/' do
admin_protected!
- erb :'public/index'
+ erb :admin
end
get '/enterprise' do
admin_protected!
erb :admin
end
get '/enterprise/:domain' do
enterprise_protected!(params[:domain])
-
- @enterprise = Models::EnterpriseAccount.where(
- domain: params[:domain],
- ).first_or_create
erb :admin
end
get '/config' do