I tried to get an image-background working within my page, but I was
I´m using rails 3.2.3, ruby 1.9.3 p125.
thats a part of my css file (app/assets/stylesheets/custom.css.scss):
background: url(<%= asset_path 'background.png' %>);
and if i try to access the page, rails server sais
ActionView::Template::Error (Invalid CSS after " background:
url(": expected ")", was "<%= asset_path ..."
4: <title>Azubiware 2.0 | <%= @title %></title>
5: <%= stylesheet_link_tag "application", media: "all" %>
7: <%= csrf_meta_tags %>
8: <!--[if lt IE 9]>
Any idea how to get this background foo working?
Very thanksfull for every hint!
Posted via http://www.ruby-forum.com/.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.