Sha256: 4e388aa07785faadcb8a9fdbf1c0990b21cb2d73b6a584ce65f146bf76b355f3
Contents?: true
Size: 472 Bytes
Versions: 1
Compression:
Stored size: 472 Bytes
Contents
Rails.application.routes.draw do namespace :wcms_components do resources :embedded_images, only: [:create], defaults: { format: 'json' } # "people#index" is used for search purposes resources :people, 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
biola_wcms_components-0.1.0 | config/routes.rb |