Skip to content

Commit

Permalink
Assetize remaining resources.
Browse files Browse the repository at this point in the history
  • Loading branch information
floere committed Apr 25, 2015
1 parent 135aadd commit afaf28d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion assets/stylesheets/search.scss.erb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
width: 34px;
height: 35px;
position: absolute;
background: url(/images/search_loupe@2x.png);
background: url(<%= asset '/images/search_loupe@2x.png' %>);
background-size: 34px 35px;
right: 0.8em;
top: 1.1em;
Expand Down
4 changes: 2 additions & 2 deletions views/layout.slim
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ html lang="en-en"
== shared_partial("header_meta")
== shared_partial("favicons")

script src="/javascripts/application.js"
link href="/stylesheets/app.css" media="screen" rel="stylesheet" type="text/css"
script src=asset("/javascripts/application.js")
link href=asset("/stylesheets/app.css") media="screen" rel="stylesheet" type="text/css"
link rel="search" type="application/opensearchdescription+xml" href="https://cocoapods.org/opensearch.xml" title="CocoaPods"

body
Expand Down
4 changes: 2 additions & 2 deletions views/partials/_search-templates.slim
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ script id="search_result" type="text/html"
a href="{{link}}" {{id}}
span.version {{version}}
| {{/deprecated}}
img.copy src="./images/copy-to-clipboard.png" data-clipboard-text="pod '{{ id }}', '{{ clipboard_version }}'" data-toggle="popover" data-placement="top" data-container="body" data-html="true" data-content=popover_html
img.copy src=asset("./images/copy-to-clipboard.png") data-clipboard-text="pod '{{ id }}', '{{ clipboard_version }}'" data-toggle="popover" data-placement="top" data-container="body" data-html="true" data-content=popover_html

| {{#deprecated}}
p
Expand Down Expand Up @@ -51,7 +51,7 @@ script id="expandable_search_result" type="text/html"
a href="{{ site_link }}" {{ id }}
span.version {{ version }}
| {{/deprecated}}
img.copy src="./images/copy-to-clipboard.png" data-clipboard-text="pod '{{ id }}', '{{ clipboard_version }}'" data-toggle="popover" data-placement="top" data-container="body" data-html="true" data-content=popover_html
img.copy src=asset("./images/copy-to-clipboard.png") data-clipboard-text="pod '{{ id }}', '{{ clipboard_version }}'" data-toggle="popover" data-placement="top" data-container="body" data-html="true" data-content=popover_html

| {{#deprecated}}
p
Expand Down

0 comments on commit afaf28d

Please sign in to comment.