Project

General

Profile

Patch #12790 ยป routes.rb.patch

Hong-Jie Dai, 2013-01-09 17:09

View differences:

routes.rb (working copy)
get 'robots.txt', :to => 'welcome#robots'
Dir.glob File.expand_path("plugins/*", Rails.root) do |plugin_dir|
Dir.glob File.expand_path("plugins", Rails.root)+"/*" do |plugin_dir|
file = File.join(plugin_dir, "config/routes.rb")
if File.exists?(file)
begin
    (1-1/1)