Changes for jquery 1.7 (.live -> .on), create module_layout

This commit is contained in:
Christophe Vilayphiou committed 2012-02-20 03:24:05 +08:00
1 parent 3ff2e7867e
commit a3f152b200
6 files changed
+105 -3

No files matched your search

@@ -1,7 +1,7 @@
class ObitFrontendComponentController< ApplicationController
before_filter :setup_vars
before_filter {|c| c.front_end_available(@app_title)}
layout 'production'
layout 'module_widget'
def setup_vars
@app_title = request.fullpath.split('/')[2]