Sha256: c561c39f05d23f45b27fda89b411d87cfb5aa012b1e07633084b37ec4fde39c7

Contents?: true

Size: 488 Bytes

Versions: 24

Compression:

Stored size: 488 Bytes

Contents

Rails.application.routes.draw do

  namespace :wcms_components do
    resources :embedded_images, only: [:create], defaults: { format: 'json' }
    resources :people, only: [:index], defaults: { format: 'json' }
    resources :tags, only: [:index], defaults: { format: 'json' }
  end

  # this is just a convenience to create a named route to rack-cas' logout
  get '/logout' => -> env { [200, { 'Content-Type' => 'text/html' }, ['Rack::CAS should have caught this']] }, as: :logout

end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
biola_wcms_components-0.18.1 config/routes.rb
biola_wcms_components-0.18.0 config/routes.rb
biola_wcms_components-0.17.0 config/routes.rb
biola_wcms_components-0.16.0 config/routes.rb
biola_wcms_components-0.15.3 config/routes.rb
biola_wcms_components-0.15.2 config/routes.rb
biola_wcms_components-0.15.1 config/routes.rb
biola_wcms_components-0.15.0 config/routes.rb
biola_wcms_components-0.14.0 config/routes.rb
biola_wcms_components-0.13.0 config/routes.rb
biola_wcms_components-0.12.0 config/routes.rb
biola_wcms_components-0.11.0 config/routes.rb
biola_wcms_components-0.10.0 config/routes.rb
biola_wcms_components-0.9.1 config/routes.rb
biola_wcms_components-0.9.0 config/routes.rb
biola_wcms_components-0.8.0 config/routes.rb
biola_wcms_components-0.7.0 config/routes.rb
biola_wcms_components-0.6.1 config/routes.rb
biola_wcms_components-0.6.0 config/routes.rb
biola_wcms_components-0.5.0 config/routes.rb