aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/url_for.rb
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2017-07-29 15:38:02 -0400
committerGitHub <noreply@github.com>2017-07-29 15:38:02 -0400
commitb5db73076914e7103466bd76bec785cbcfe88875 (patch)
treec167e5e4ba9691dcbb543f2e07d716fcf11bfa4d /actionpack/lib/action_controller/metal/url_for.rb
parent904f1a8747958129124d86b44e36c5f0263e0125 (diff)
parentdfcc766163fa58389a6fe6dc5788533a455f8a89 (diff)
downloadrails-b5db73076914e7103466bd76bec785cbcfe88875.tar.gz
rails-b5db73076914e7103466bd76bec785cbcfe88875.tar.bz2
rails-b5db73076914e7103466bd76bec785cbcfe88875.zip
Merge pull request #29933 from kirs/frozen-actionpack
Use frozen string literal in actionpack/
Diffstat (limited to 'actionpack/lib/action_controller/metal/url_for.rb')
-rw-r--r--actionpack/lib/action_controller/metal/url_for.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/metal/url_for.rb b/actionpack/lib/action_controller/metal/url_for.rb
index 21ed5b4ec8..84dbb59a63 100644
--- a/actionpack/lib/action_controller/metal/url_for.rb
+++ b/actionpack/lib/action_controller/metal/url_for.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module ActionController
# Includes +url_for+ into the host class. The class has to provide a +RouteSet+ by implementing
# the <tt>_routes</tt> method. Otherwise, an exception will be raised.