dont use asset_path on non precompiled layouts
This commit is contained in:
@@ -29,7 +29,7 @@ html lang="en"
|
||||
var data_host = 'http://data.qwaiter.com';
|
||||
var event_host = '#{event_host}';
|
||||
var $locale = 'en';
|
||||
var $asset_path = '#{asset_path('')}';
|
||||
var $asset_path = '/assets/';
|
||||
#{Rails.env.production? ? '' : "data_host = 'http://qwaiter.dev';"}
|
||||
//var data_host = 'http://localhost:3000';
|
||||
QMobile || (QMobile = {
|
||||
|
||||
Reference in New Issue
Block a user