Sha256: 3f5329e903150bcb8cdebd41ea6e897935fd941b1af66c57b378c51bcaaa9627
Contents?: true
Size: 408 Bytes
Versions: 3
Compression:
Stored size: 408 Bytes
Contents
Rails.application.routes.draw do resources :posts resource :home, only: [:index, :show] get '/protected_page', to: 'home#show', as: :protected_page namespace :rails_api do resource :secure_resource, only: [:create, :show], defaults: {format: 'json'} end mount G5Authenticatable::Engine => '/g5_auth' mount SecureApi => '/api' root to: 'home#index' end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
g5_authenticatable-0.6.0 | spec/dummy/config/routes.rb |
g5_authenticatable-0.5.1 | spec/dummy/config/routes.rb |
g5_authenticatable-0.5.0 | spec/dummy/config/routes.rb |