Skip empty categories

Signed-off-by: Zeljko <zeljko@zwr.fi>
Simplify assets

Signed-off-by: Zeljko <zeljko@zwr.fi>
Fix test: need factories

Test was missing data in the database.

Signed-off-by: Zeljko <zeljko@zwr.fi>
Cleanup

Signed-off-by: Zeljko <zeljko@zwr.fi>
Fix: main controller test

Remove the comment that was only for regression there.

Signed-off-by: Zeljko <zeljko@zwr.fi>
Generate admin root controller

Controller is in Admin space and uses admin layout.

Signed-off-by: Zeljko <zeljko@zwr.fi>
Cleanup

Signed-off-by: Zeljko <zeljko@zwr.fi>
Empty admin SPA

Signed-off-by: Zeljko <zeljko@zwr.fi>
Use coffee instead of java

Signed-off-by: Zeljko <zeljko@zwr.fi>
Empty marionette app

This app now only starts and makes a chrome
log entry

Signed-off-by: Zeljko <zeljko@zwr.fi>
Cleanup: remove unused js file

Signed-off-by: Zeljko <zeljko@zwr.fi>
Add a haml-coffee template,show  in marionette app

This commit contains several interlocked changes:

- We add the haml_coffee_assets gem, which allows us to make HAML
  and coffeescript templates, and serve them to be used by Marionette.
- We create one such template, static.hamlc. For time being it contains
  a silly paragraph.
- In the app, we need to make a small tweak to Marionette
  view renderer, as haml_coffee_assets will prepare more then
  normal <script> template would.
- Finally, we create a marionette region, a view for our template,
  and we show it in the initializer.
- The previous step would fail if we woudn't use the jquery
  $(document).ready handler, which is in coffeescript conveniently
  shorted to "$ ->".
- Finally, to make the view displaying noticable, we add the
  setTimeout into the marionette initializer handler, so that we
  "are loading" the application for three seconds, before
  displaying the "all ready" message.

Signed-off-by: Zeljko <zeljko@zwr.fi>
Layout: nicer (well, visible) title

Signed-off-by: Zeljko <zeljko@zwr.fi>