I'm trying to order my stylesheets in a rails3 app, but I've got an issue with the lines repeating themselves using the *stylesheet_link_tag* helper.
In app/views/layouts/application.html.erb
<%= stylesheet_link_tag :reset, :application, :event_calendar, :cache => false %>
In produced source code:
<link href="/assets/reset.css?body=1" media="screen" rel="stylesheet" type="text/css" />
<link href="/assets/application.css?body=1" media="screen" rel="stylesheet" type="text/css" />
<link href="/assets/event_calendar.css?body=1" media="screen" rel="stylesheet" type="text/css" />
<link href="/assets/reset.css?body=1" media="screen" rel="stylesheet" type="text/css" />
<link href="/assets/event_calendar.css?body=1" media="screen" rel="stylesheet" type="text/css" />
Content of app/assets/stylesheets/ folder:
calendar (master *)$ ls app/assets/stylesheets/
application.css event_calendar.css reset.css
The same kind of problem appears using *javascript_include_tag* helper, I think both can be related.