Fix a few typos. [ci skip]

This commit is contained in:
namusyaka 2013-09-04 03:48:53 +09:00
parent c52a4ae565
commit 2b6b5404af
2 changed files with 3 additions and 3 deletions

@ -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

@ -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 = {})