sso for ntu mb all sites

This commit is contained in:
Spen committed 2013-09-26 15:23:03 +08:00
1 parent 1021ac2e9b
commit 4053ccbcdd
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"