Skip to content
This repository
Browse code

Edited railties/lib/rails/paths.rb via GitHub

  • Loading branch information...
commit 14cfc4503dd23d0b46c7d8bfec0ce7718ed74c22 1 parent 94c08a6
José Valim josevalim authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 railties/lib/rails/paths.rb
4 railties/lib/rails/paths.rb
@@ -7,8 +7,8 @@ def method_missing(id, *args)
7 7 match = id.to_s.match(/^(.*)=$/)
8 8 full = [@current, $1 || id].compact.join("/")
9 9
10   - ActiveSupport::Deprecation.warn 'config.paths.app.controller API is deprecated in ' <<
11   - 'favor of config.paths["app/controller"] API.'
  10 + ActiveSupport::Deprecation.warn 'Accessing paths using dot style as in `config.paths.app.controller` is deprecated. Please use ' <<
  11 + '`config.paths["app/controller"]` style instead.'
12 12
13 13 if match || args.any?
14 14 @root[full] = Path.new(@root, full, *args)

0 comments on commit 14cfc45

Please sign in to comment.
Something went wrong with that request. Please try again.