lundi 13 avril 2015

Troubles adding a html5up template in my rails application

I'm getting a No route matches [GET] "/dashboard/html5up/style.css" error when trying to setup my html5up templates with a new rails app that I generated. All my css files are in /assets/stylesheets/html5up/ and similarly my javascript is in the asset/javascript folder.


I generated a new controller called dashboard and I get this error whenever it loads the page with some css stylings not appearing (javascript works fine). Any ideas on what the issue could be? I'm not quite sure why it is searching the /dashboard directory if it is included in the assets pipeline.


9844: Started GET "/dashboard/html5up/style.css" for ::1 at 2015-04-13 12:33:57 -0700 9845

9846: ActionController::RoutingError (No route matches [GET] "/dashboard/html5up/style.css"): 9847 actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in call' 9848 web-console (2.1.2) lib/web_console/middleware.rb:37:incall' .... 10102

10103

10104: Started GET "/dashboard/html5up/style.css" for ::1 at 2015-04-13 12:35:01 -0700 10105

10106: ActionController::RoutingError (No route matches [GET] "/dashboard/html5up/style.css"): 10107 actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in call' 10108 web-console (2.1.2) lib/web_console/middleware.rb:37:incall'


Aucun commentaire:

Enregistrer un commentaire