1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/syntax_suggest/fixtures/routes.rb.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

122 lines
2.8 KiB
Text
Raw Normal View History

Rails.application.routes.draw do
constraints -> { Rails.application.config.non_production } do
namespace :foo do
resource :bar
end
end
constraints -> { Rails.application.config.non_production } do
namespace :bar do
resource :baz
end
end
constraints -> { Rails.application.config.non_production } do
namespace :bar do
resource :baz
end
end
constraints -> { Rails.application.config.non_production } do
namespace :bar do
resource :baz
end
end
constraints -> { Rails.application.config.non_production } do
namespace :bar do
resource :baz
end
end
constraints -> { Rails.application.config.non_production } do
namespace :bar do
resource :baz
end
end
constraints -> { Rails.application.config.non_production } do
namespace :bar do
resource :baz
end
end
constraints -> { Rails.application.config.non_production } do
namespace :bar do
resource :baz
end
end
constraints -> { Rails.application.config.non_production } do
namespace :bar do
resource :baz
end
end
constraints -> { Rails.application.config.non_production } do
namespace :bar do
resource :baz
end
end
constraints -> { Rails.application.config.non_production } do
namespace :bar do
resource :baz
end
end
constraints -> { Rails.application.config.non_production } do
namespace :bar do
resource :baz
end
end
constraints -> { Rails.application.config.non_production } do
namespace :bar do
resource :baz
end
end
constraints -> { Rails.application.config.non_production } do
namespace :bar do
resource :baz
end
end
constraints -> { Rails.application.config.non_production } do
namespace :bar do
resource :baz
end
end
constraints -> { Rails.application.config.non_production } do
namespace :bar do
resource :baz
end
end
constraints -> { Rails.application.config.non_production } do
namespace :bar do
resource :baz
end
end
constraints -> { Rails.application.config.non_production } do
namespace :bar do
resource :baz
end
end
constraints -> { Rails.application.config.non_production } do
namespace :bar do
resource :baz
end
end
constraints -> { Rails.application.config.non_production } do
namespace :bar do
resource :baz
end
end
constraints -> { Rails.application.config.non_production } do
namespace :bar do
resource :baz
end
end
constraints -> { Rails.application.config.non_production } do
namespace :bar do
resource :baz
end
end
namespace :admin do
resource :session
match "/foobar(*path)", via: :all, to: redirect { |_params, req|
uri = URI(req.path.gsub("foobar", "foobaz"))
uri.query = req.query_string.presence
uri.to_s
}
end