Sha256: 3501c6cb4246d80dd3eaa49c518a81e3424ce2f965268a4330f6771215b08a0c

Contents?: true

Size: 364 Bytes

Versions: 15

Compression:

Stored size: 364 Bytes

Contents

Rails.application.routes.draw do

  mount Lockup::Engine, at: '/lockup', as: 'lockup'

  resources :posts, only: [:index, :show]

  # this makes tests fail with endless redirect loop b/c it is before lockup routes
  # catch all route b/c Rails `rescue_from` doesn't catch ActionController::RoutingError
  match '*path', via: :all, to: 'application#render_404'
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
lockup-1.7.1 spec/dummy/config/routes.rb
lockup-1.7 spec/dummy/config/routes.rb
lockup-1.6.1 spec/dummy/config/routes.rb
lockup-1.6 spec/dummy/config/routes.rb
lockup-1.5.1 spec/dummy/config/routes.rb
lockup-1.5 spec/dummy/config/routes.rb
lockup-1.4.5.1 spec/dummy/config/routes.rb
lockup-1.4.4 spec/dummy/config/routes.rb
lockup-1.4.3 spec/dummy/config/routes.rb
lockup-1.4.2 spec/dummy/config/routes.rb
lockup-1.4.1 spec/dummy/config/routes.rb
lockup-1.4 spec/dummy/config/routes.rb
lockup-1.3.2.1 spec/dummy/config/routes.rb
lockup-1.3.2 spec/dummy/config/routes.rb
lockup-1.3.1 spec/dummy/config/routes.rb