Module: Card::Set::Type::SearchType::HtmlFormat
- Extended by:
- AbstractFormat
- Defined in:
- tmpsets/set/mod020-search/type/search_type.rb
Instance Method Summary collapse
Instance Method Details
#rss_link_tag ⇒ Object
78 79 80 81 82 83 84 85 |
# File 'tmpsets/set/mod020-search/type/search_type.rb', line 78 def rss_link_tag path_opts = { format: :rss } Array(search_params[:vars]).compact.each { |k, v| opts["_#{k}"] = v } tag "link", rel: "alternate", type: "application/rss+xml", title: "RSS", href: path(path_opts) end |