engine/spec/dummy/config/routes.rb

8 lines
149 B
Ruby

Rails.application.routes.draw do
mount Locomotive::Engine => '/locomotive', :as => 'locomotive'
match '/foo' => 'foo#index', :as => 'foo'
end