Skip to content
Browse files

Merge pull request #12126 from namusyaka/fix-some-typos

Fix a few typos.
  • Loading branch information...
2 parents c52a4ae + 2b6b540 commit 863c488bb05de3b38a81fa37349977adc0db59e3 @vijaydev vijaydev committed
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 = {})

0 comments on commit 863c488

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