I purchased a free template and I'm applying it to my main blog page. I have created an administrative for this blog and I have a question if my assets organization is correct. Here is the structure:
app / assets / javascripts: Home admin Home template Home admin.js // make the admin dir call, it works normally Home application.js
And the call inside application.js looks like this:
//= require jquery
//= require jquery_ujs
//= require turbolinks
//= require template/js/jquery.poptrox.min.js
//= require template/js/skel.min.js
//= require template/js/init.js
app / assets / stylesheets: Home admin Home template Home admin.css // make the admin dir call, it works normally Home application.css
And the call inside application.css looks like this:
*= require template/css/skel.css
*= require template/css/style.css
*= require template/css/style-xlarge.css
*= require_self
and in layout application.html.haml I reference the application.css and application.js. My question is if this organization is correct because it was reading in the guide and I see that it has the public folder and vendor for css and js but I do not know when to use it.