Update ecosystem for new devise

This commit is contained in:
2013-09-15 08:51:13 +02:00
parent 748b0c2283
commit ebbb5dedfc
19 changed files with 308 additions and 222 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ html lang="en"
var $locale = 'en';
var $asset_path = '/assets/';
var Qstorage = localStorage;
#{Rails.env.production? ? '' : "data_host = 'http://qwaiter.dev';"}
#{Rails.env.production? ? '' : "data_host = 'http://localhost:3000';".html_safe }
var data_host = 'http://localhost:3000';
QMobile || (QMobile = {
scanQr: function(){window.location = '/select_qrcode'},
+1 -8
View File
@@ -16,14 +16,7 @@ html lang="en"
link href="/images/apple-touch-icon-72x72.png" rel="apple-touch-icon-precomposed" sizes="72x72"
link href="/images/apple-touch-icon.png" rel="apple-touch-icon-precomposed"
link href="/favicon.ico" rel="shortcut icon"
javascript:
var $locale = '#{I18n.locale}';
var supplier_id = '#{current_supplier.id}';
var data_host = '';
var event_host = '#{event_host}';
var datepicker_options = {dateFormat: 'yy-mm-dd', firstDay: #{current_supplier.week_starts_on_monday? ? 1 : 0}};
= render 'suppliers/application/head'
= yield :head
body