dungbanguyen / adminlte-rails

The AdminLTE Rails gem integrates AdminLTE theme with the Rails asset pipeline
https://github.com/shine60vn/adminlte-rails
MIT License
129 stars 73 forks source link

couldn't find file 'admin-lte' with type 'application/javascript' #9

Closed datomnurdin closed 9 years ago

datomnurdin commented 9 years ago

I got this error message after I add this line in application.js

couldn't find file 'admin-lte' with type 'application/javascript'

application.js

//= require admin-lte
dungbanguyen commented 9 years ago

Which rails version you are using? Maybe the new rails version does not detect js files in vendor folder automatically. You can use this instead:

//= require ../../../vendor/assets/javascripts/admin-lte

Hope this help!

datomnurdin commented 9 years ago

Solved. I just restart the server.