Sha256: 76fba02da84c6460ec44f97c57b0278f95eb15323a482a5c594ecfbb304b6117

Contents?: true

Size: 388 Bytes

Versions: 4

Compression:

Stored size: 388 Bytes

Contents

Rails.application.routes.draw do
  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

4 entries across 4 versions & 1 rubygems

Version Path
g5_authenticatable-0.4.2 spec/dummy/config/routes.rb
g5_authenticatable-0.4.1 spec/dummy/config/routes.rb
g5_authenticatable-0.4.0 spec/dummy/config/routes.rb
g5_authenticatable-0.3.0 spec/dummy/config/routes.rb