diff options
author | eileencodes <eileencodes@gmail.com> | 2015-03-20 08:14:59 -0400 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2015-03-20 08:48:04 -0400 |
commit | c757e9b60a71e585f48c8b9426ab3d979a5967ee (patch) | |
tree | fb55ef6ce020032e60c671434bce1727b4d2d4d3 /railties/lib | |
parent | 0755d300170d1ef2f6d78f76d0126e962167be5a (diff) | |
download | rails-c757e9b60a71e585f48c8b9426ab3d979a5967ee.tar.gz rails-c757e9b60a71e585f48c8b9426ab3d979a5967ee.tar.bz2 rails-c757e9b60a71e585f48c8b9426ab3d979a5967ee.zip |
Remove `#build_original_fullpath` method
Removing `#build_original_fullpath` because it is no longer
used by the Rails' source code or called in the `#call` method becasue
the previous commit now uses `fullpath` from Rack.
The method was nodoc'ed so it's safe to remove.
NOTE: I did this as a separate commit so if this does cause a problem
with engines etc reverting is easy.
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/application.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/railties/lib/rails/application.rb b/railties/lib/rails/application.rb index ad6ec1264d..e9683d4a95 100644 --- a/railties/lib/rails/application.rb +++ b/railties/lib/rails/application.rb @@ -505,11 +505,6 @@ module Rails default_stack.build_stack end - def build_original_fullpath(env) #:nodoc: - req = ActionDispatch::Request.new env - env["ORIGINAL_FULLPATH"] = req.fullpath - end - def validate_secret_key_config! #:nodoc: if secrets.secret_key_base.blank? ActiveSupport::Deprecation.warn "You didn't set `secret_key_base`. " + |