Permalink
Browse files

Add ui controller

  • Loading branch information...
1 parent 9639b10 commit c3eb96db4c35d388bb3b8d88b7f540f84bfa9e8b Lar Van Der Jagt committed with Hashrocket Workstation Feb 21, 2012
Showing with 4 additions and 0 deletions.
  1. +2 −0 app/controllers/ui_controller.rb
  2. 0 app/views/ui/.gitkeep
  3. +2 −0 config/routes.rb
@@ -0,0 +1,2 @@
+class UiController < Hashrocket::UiController
+end
View
No changes.
View
@@ -1,4 +1,6 @@
Mapz::Application.routes.draw do
+ match '/ui(/:action)', controller: 'ui'
+
# The priority is based upon order of creation:
# first created -> highest priority.

2 comments on commit c3eb96d

I recommend putting all your logic in controllers. It's how we do it at Loosecubes now. >_<

Owner

supaspoida replied Feb 25, 2012

Splendid! So far most of this logic is either in lib or javascript. And my tests take 0.00695s!

Please sign in to comment.