Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix a few typos. [ci skip]

  • Loading branch information...
commit 2b6b5404af0cf6c40feba4a94c266c8cd37f6ddc 1 parent c52a4ae
@namusyaka namusyaka authored
View
2  actionpack/lib/action_controller/metal/force_ssl.rb
@@ -48,7 +48,7 @@ module ClassMethods
# You can pass any of the following options to affect the redirect status and response
# * <tt>status</tt> - Redirect with a custom status (default is 301 Moved Permanently)
# * <tt>flash</tt> - Set a flash message when redirecting
- # * <tt>alert</tt> - Set a alert message when redirecting
+ # * <tt>alert</tt> - Set an alert message when redirecting
# * <tt>notice</tt> - Set a notice message when redirecting
#
# ==== Action Options
View
4 actionview/lib/action_view/helpers/asset_url_helper.rb
@@ -143,9 +143,9 @@ def asset_path(source, options = {})
"#{source}#{tail}"
end
- alias_method :path_to_asset, :asset_path # aliased to avoid conflicts with a asset_path named route
+ alias_method :path_to_asset, :asset_path # aliased to avoid conflicts with an asset_path named route
- # Computes the full URL to a asset in the public directory. This
+ # Computes the full URL to an asset in the public directory. This
# will use +asset_path+ internally, so most of their behaviors
# will be the same.
def asset_url(source, options = {})
Please sign in to comment.
Something went wrong with that request. Please try again.