routes.rb revision 3fb1a618a29315451a827d573c4e373d6d4ae474
7bde6e1907fc17b0083a6bcfad10bb74be6e4bcdTim Reddehase request.env['warden'].authenticate? and request.env['warden'].user.admin?
d73e4334f0cc1103049795c5ce7910c54ab1bfc4Eugen Kuksa devise_for :users, :controllers => { :registrations => "users/registrations" }
de26ab920893b505e7914784774de5eb506f60a0Eugen Kuksa resources :ontology_versions, :only => [:index, :show, :new, :create], :path => 'versions'
3856b7bdf70cec553e0ca01ca823c7fc555a06f0Tim Reddehase resources :permissions, :only => [:index, :create, :update, :destroy]
3856b7bdf70cec553e0ca01ca823c7fc555a06f0Tim Reddehase resources :metadata, :only => [:index, :create, :destroy]
61c65b3e1c87587d1ed5a15220d41a166a5d66d6Eugen Kuksa resources :comments, :only => [:index, :create, :destroy]
de26ab920893b505e7914784774de5eb506f60a0Eugen Kuksa resources :permissions, :only => [:index], :controller => 'teams/permissions'
11c250a983905f4db9081f934d1efbc25fd0fb65Eugen Kuksa resources :team_users, :only => [:index, :create, :update, :destroy], :path => 'users'