2012-01-11 75 views

回答

1

我解決了這個問題,一個良好的夜間睡眠後。這裏的解決方案:

application.html.erb

<html> 
<head> 
    <%= stylesheet_link_tag "application", controller_name, "template"%> 
    <%= javascript_include_tag "application" , controller_name %> 
</head> 
</html> 

controller.js.coffee

//= require ender 

controller.css.scss

//= require sub-template