Skip to content

Commit

Permalink
Use 1 argument url helpers
Browse files Browse the repository at this point in the history
This fixes a deprecation warning in Rails 4.
  • Loading branch information
jcoyne authored and cbeer committed Jul 30, 2013
1 parent 5faa629 commit dd3b7d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/assets/stylesheets/blacklight/_catalog.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ span.constraints-label {

.btnRemove
{
background:asset_url('blacklight/remove.gif', image) no-repeat center center;
background: image_url('blacklight/remove.gif') no-repeat center center;
border-bottom:none;
border-left:1px solid $constraint_border_color;
display:block;
Expand All @@ -115,7 +115,7 @@ span.constraints-label {

.filterName
{
background:asset_url('blacklight/separator.gif',image) no-repeat right center;
background: image_url('blacklight/separator.gif') no-repeat right center;
padding-right:14px;
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/blacklight/_header.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

.brand { /* The main logo image for the Blacklight instance */
width: 150px;
background:transparent asset_url($logo_image,image) no-repeat top left;
background:transparent image_url($logo_image) no-repeat top left;
display: inline-block;
text-indent: 100%;
white-space: nowrap;
Expand Down

0 comments on commit dd3b7d9

Please sign in to comment.