Sha256: b30e36ce23126e20a4608cd20125da2c7ac9c7b986abe8ef80dcce56083f182f

Contents?: true

Size: 455 Bytes

Versions: 30

Compression:

Stored size: 455 Bytes

Contents

Rails.application.routes.draw do
  mount G5Updatable::Engine => '/g5_updatable'
  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

30 entries across 30 versions & 1 rubygems

Version Path
g5_authenticatable-1.1.4 spec/dummy/config/routes.rb
g5_authenticatable-1.1.4.rc.3 spec/dummy/config/routes.rb
g5_authenticatable-1.1.4.rc.2 spec/dummy/config/routes.rb
g5_authenticatable-1.1.4.rc.1 spec/dummy/config/routes.rb
g5_authenticatable-1.1.2 spec/dummy/config/routes.rb
g5_authenticatable-1.1.2.pre.1 spec/dummy/config/routes.rb
g5_authenticatable-1.1.2.rc.5 spec/dummy/config/routes.rb
g5_authenticatable-1.1.2.rc.4 spec/dummy/config/routes.rb
g5_authenticatable-1.1.2.rc.3 spec/dummy/config/routes.rb
g5_authenticatable-1.1.2.rc.2 spec/dummy/config/routes.rb
g5_authenticatable-1.1.2.rc.1 spec/dummy/config/routes.rb
g5_authenticatable-1.1.1 spec/dummy/config/routes.rb
g5_authenticatable-1.1.0 spec/dummy/config/routes.rb
g5_authenticatable-1.0.0 spec/dummy/config/routes.rb
g5_authenticatable-1.0.0.pre.4 spec/dummy/config/routes.rb
g5_authenticatable-1.0.0.pre.3 spec/dummy/config/routes.rb
g5_authenticatable-1.0.0.pre.2 spec/dummy/config/routes.rb
g5_authenticatable-1.0.0.pre.1 spec/dummy/config/routes.rb
g5_authenticatable-0.9.1.pre.2 spec/dummy/config/routes.rb
g5_authenticatable-0.8.1.pre spec/dummy/config/routes.rb