Sha256: 82a02895a51c53b17615aa976680ee9fba22cbfce5d4a43c25434cc6145365e2
Contents?: true
Size: 977 Bytes
Versions: 4
Compression:
Stored size: 977 Bytes
Contents
Rails.application.routes.draw do root to: 'ucb_rails/home#index' match 'ucb_rails', :to => 'ucb_rails/home#index' match '/login', :to => 'ucb_rails/sessions#new', :as => 'login' match '/logout', :to => 'ucb_rails/sessions#destroy', :as => 'logout' match '/auth/:omniauth_provider/callback' => 'ucb_rails/sessions#create' match '/auth/failure' => "ucb_rails/sessions#failure" match '/not_authorized', :to => 'ucb_rails/sessions#not_authorized', as: 'not_authorized' match '/ucb_rails/bootstrap(/:uid)' => 'ucb_rails/bootstrap#index' resources :hidden_announcements, path: '/announcements', only: [:index, :create, :destroy] namespace :ucb_rails do get '/ldap_person_search' => 'ldap_person_search#search', :as => :ldap_person_search namespace :admin do resources :announcements resources :users do get 'ldap_search', on: :collection get 'typeahead_search', on: :collection end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ucb_rails-0.0.5 | config/routes.rb |
ucb_rails-0.0.4 | config/routes.rb |
ucb_rails-0.0.3 | config/routes.rb |
ucb_rails-0.0.2 | config/routes.rb |