diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2012-01-14 16:33:21 -0500 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2012-01-14 16:33:21 -0500 |
commit | 0802dc7f4f37a498c21ca0967a34304833b84381 (patch) | |
tree | e826ac25f65608af086057c629f9f5f94c1c41fe /railties/lib/rails | |
parent | f4b1dcdbcfe525efd0eb3ff047bbddca353d47b1 (diff) | |
download | rails-0802dc7f4f37a498c21ca0967a34304833b84381.tar.gz rails-0802dc7f4f37a498c21ca0967a34304833b84381.tar.bz2 rails-0802dc7f4f37a498c21ca0967a34304833b84381.zip |
Don't hardcode assets route skipped in route inspector
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/application/route_inspector.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/application/route_inspector.rb b/railties/lib/rails/application/route_inspector.rb index 5ca366c5f2..2ca0c68243 100644 --- a/railties/lib/rails/application/route_inspector.rb +++ b/railties/lib/rails/application/route_inspector.rb @@ -51,7 +51,7 @@ module Rails end def internal? - path =~ %r{/rails/info/properties|^/assets} + path =~ %r{/rails/info/properties|^#{Rails.application.config.assets.prefix}} end def engine? |