lucasefe / themes_for_rails

Theme Support for Rails 3
This very same page :)
MIT License
308 stars 102 forks source link

theme_stylesheet_path for files with extension differs from standard rails #45

Closed edrex closed 12 years ago

edrex commented 12 years ago

Where Rails' stylesheet_path will let you add your own extension, theme_stylesheet_path still tacks on the default extension, which is a problem for using it with for example LESS.js:

= stylesheet_path 'FOO.less'
= theme_stylesheet_path 'BAR.less'
/stylesheets/FOO.less
/themes/activate/stylesheets/BAR.less.css
lucasefe commented 12 years ago

Please, let me know if this issue still happens on the current version of themes_for_rails.