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