Remove base url

This commit is contained in:
Rien Maertens 2018-08-07 19:04:44 +02:00
parent c25820ad3f
commit 9671e83fed
No known key found for this signature in database
GPG key ID: 943CAB70C511D23C

View file

@ -7,8 +7,6 @@
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
= javascript_include_tag 'application', 'data-turbolinks-track' => true = javascript_include_tag 'application', 'data-turbolinks-track' => true
= csrf_meta_tags = csrf_meta_tags
:javascript
window.base_url = "#{Rails.application.config.relative_url_root}"
%body %body
.pure-g .pure-g
= render 'menu' if current_user = render 'menu' if current_user