TheArchitects/Spillio — pull request #2 by alfongj (2013-10-28 01:36:30+00:00)
Title: Proper views

This commit refactors all the asset and views system that we previously had to another one using best practices.

Now, all views will automatically extend from application.haml, which contains the minimum js and css that we need to be common for all the app, whilst each view should can include its own js and css files.

From now onwards, all css and js files that we create should go to
app/assets/...
And all the external css and js that we include should go to
vendor/assets/...
When linking a css or js file, it is only needed to specify the name of the file, so no need to worry about in which folder it is (this is only for organization).

I am pull requesting and accepting this myself, considering that you are all busy, and this fix is needed for building more views. Normally would wait for someone to double check it...