sso for ntu mb all sites

This commit is contained in:
Spen authored and saurabhbhatia committed 2013-09-26 18:52:32 +08:00
1 parent 1159375de7
commit 09e0d5bd92
7 files changed
+341 -73

No files matched your search

+8
View File
@@ -9,6 +9,14 @@ Orbit::Application.routes.draw do
match "/users_passwd" => "desktop/registrations#update", :as => :users_passwd, :via => :put
end
devise_scope :user do
get 'user_login' => 'sessions#create'
match 'user_logout' => 'sessions#destroy'
end
match "saml_login" => 'saml_logins#index'
mount Resque::Server, :at => "/admin/resque"
mount Rack::GridFS::Endpoint.new(:db => Mongoid.database,:lookup=>:path), :at => "gridfs"