Patch #12790 ยป routes.rb.patch
| routes.rb (working copy) | ||
|---|---|---|
| 330 | 330 | |
| 331 | 331 |
get 'robots.txt', :to => 'welcome#robots' |
| 332 | 332 | |
| 333 |
Dir.glob File.expand_path("plugins/*", Rails.root) do |plugin_dir|
|
|
| 333 |
Dir.glob File.expand_path("plugins", Rails.root)+"/*" do |plugin_dir|
|
|
| 334 | 334 |
file = File.join(plugin_dir, "config/routes.rb") |
| 335 | 335 |
if File.exists?(file) |
| 336 | 336 |
begin |