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