Skip to content

Commit

Permalink
Merge a0cb1b8 into a0c6247
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Nov 1, 2018
2 parents a0c6247 + a0cb1b8 commit abb7287
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions .rubocop_todo.yml
Expand Up @@ -705,9 +705,3 @@ Style/Semicolon:
# SupportedStyles: percent, brackets
Style/SymbolArray:
EnforcedStyle: brackets

# Offense count: 1
# Cop supports --auto-correct.
Style/UnneededInterpolation:
Exclude:
- 'app/views/catalog/opensearch.xml.builder'
2 changes: 1 addition & 1 deletion app/views/catalog/opensearch.xml.builder
Expand Up @@ -4,7 +4,7 @@ xml.instruct! :xml, version: '1.0'
xml.OpenSearchDescription(xmlns: 'http://a9.com/-/spec/opensearch/1.1/') {
xml.ShortName application_name
xml.Description "#{application_name} Search"
xml.Image "#{asset_url('favicon.ico')}", height: 16, width: 16, type: 'image/x-icon'
xml.Image asset_url('favicon.ico'), height: 16, width: 16, type: 'image/x-icon'
xml.Contact
xml.Url type: 'text/html', method: 'get', template: "#{url_for controller: 'catalog', only_path: false}?q={searchTerms}&page={startPage?}"
xml.Url type: 'application/rss+xml', method: 'get', template: "#{url_for controller: 'catalog', only_path: false}.rss?q={searchTerms}&page={startPage?}"
Expand Down

0 comments on commit abb7287

Please sign in to comment.