aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/cookies.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-07-27 01:20:17 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-07-27 01:20:17 -0300
commit4b8b8c1b4d1b516a9ebf8e19d5a14956c5654ac8 (patch)
tree2b81b319d5437ca0fe1fbb3b0ca97c8b3113502f /actionpack/lib/action_dispatch/middleware/cookies.rb
parent133754ef172706c10d6d1f9393d4fb1a1b19e2d7 (diff)
downloadrails-4b8b8c1b4d1b516a9ebf8e19d5a14956c5654ac8.tar.gz
rails-4b8b8c1b4d1b516a9ebf8e19d5a14956c5654ac8.tar.bz2
rails-4b8b8c1b4d1b516a9ebf8e19d5a14956c5654ac8.zip
Only require the `:rails_env` task where is needed.
`:rails_env` tasks is not needed in all the tasks that depends of `load_config`, only in the tasks that uses `Rails.env`. Since `:rails_env` task set the `Rails.env` to be "development" if it is not set we don't need the `||` statements too Fix #7175.
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/cookies.rb')
0 files changed, 0 insertions, 0 deletions