提交 85f14201 编写于 作者: S schneems

Missed 2 public_* methods in cleanup

上级 b4797029
......@@ -65,14 +65,6 @@ def javascript_include_tag(*sources)
}.join("\n").html_safe
end
# Computes the path to a series of javascript assets in the public
# folder. This uses +javascript_include_tag+ and skips any asset
# lookups by assuming any assets are in the `public` folder.
def public_javascript_include_tag(*sources)
options = sources.extract_options!
javascript_include_tag(*sources, { public_folder: true }.merge!(options))
end
# Returns a stylesheet link tag for the sources specified as arguments. If
# you don't specify an extension, <tt>.css</tt> will be appended automatically.
# You can modify the link attributes by passing a hash as the last argument.
......@@ -111,14 +103,6 @@ def stylesheet_link_tag(*sources)
}.join("\n").html_safe
end
# Computes the path to a series of stylesheet assets in the public
# folder. This uses +stylesheet_link_tag+ and skips any asset
# lookups by assuming any assets are in the `public` folder.
def public_stylesheet_link_tag(*sources)
options = sources.extract_options!
stylesheet_link_tag(*sources, { public_folder: true }.merge!(options))
end
# Returns a link tag that browsers and feed readers can use to auto-detect
# an RSS or Atom feed. The +type+ can either be <tt>:rss</tt> (default) or
# <tt>:atom</tt>. Control the link options in url_for format using the
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册