cleanup and add translation hooks

This commit is contained in:
2012-11-29 19:01:35 +01:00
parent b9c0ca326b
commit e0a3333e8f
8 changed files with 65 additions and 38 deletions
+3 -1
View File
@@ -18,7 +18,7 @@ html lang="en"
link href="/favicon.ico" rel="shortcut icon"
javascript:
var data_host = '#{Rails.env == 'development' ? 'http://qwaiter.dev' : 'http://data.qwaiter.com' }';
var data_host = 'http://localhost:3000';
//var data_host = 'http://localhost:3000';
var event_host = '#{event_host}';
//data_host = 'http://192.168.1.148:3000';
var $locale = 'en';
@@ -80,3 +80,5 @@ html lang="en"
/ Placed at the end of the document so the pages load faster
= javascript_include_tag "user/application"
= yield :footer
javascript:
jQuery(function(){#{onload_javascript}});