Skip to content

Error in stylesheets images need to resolve with asset pipeline helper #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 26, 2012
Merged

Error in stylesheets images need to resolve with asset pipeline helper #6

merged 2 commits into from
Jun 26, 2012

Conversation

bullfight
Copy link
Contributor

I was getting this error message and realized that images in the stylesheet weren't being referenced correctly.

Started GET "/img/loading.gif" for 127.0.0.1 at 2012-05-19 17:08:53 +0200
Processing by MainController#index as GIF
  Parameters: {"path"=>"img/loading"}
ActionView::MissingTemplate (Missing template main/index, application/index with {:locale=>[:en], :formats=>[:gif], :handlers=>[:erb, :builder, :coffee, :haml]}. Searched in:
  * "/Users/pschmitz/code/personal/portfolio/app/views"
  * "/Users/pschmitz/.rvm/gems/ruby-1.9.3-p0@portfolio/gems/twitter-bootstrap-rails-2.0.7/app/views"
...
):

I pointed the image ref to the right place using the image-url helper

@etdsoft
Copy link

etdsoft commented Jun 26, 2012

@tors bump

tors added a commit that referenced this pull request Jun 26, 2012
Error in stylesheets images need to resolve with asset pipeline helper
@tors tors merged commit 1c8e967 into tors:master Jun 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants