OSDN Git Service

Fix bug in ace-src-noconflict with Relative url.
authorHassan Amouhzi <github@anezi.net>
Wed, 21 Aug 2013 07:13:50 +0000 (09:13 +0200)
committerHassan Amouhzi <github@anezi.net>
Wed, 21 Aug 2013 07:13:50 +0000 (09:13 +0200)
commita38c6550db410a5264a8056044f562fac7ab4b92
tree81ae5ab1ad1361ffb9934cf878be1ae34cb7b770
parent0a44ecf3a0eb7be66b2dbbb6e8404e3242a4b016
Fix bug in ace-src-noconflict with Relative url.

If we doesn't use a relative url we have this:
<pre>gon.relative_url_root=""</pre>
Else <pre>gon.relative_url_root="/gitlab"</pre>

Gitlab::Application.config.assets.prefix contains:
<pre>/assets</pre>
app/views/projects/edit_tree/show.html.haml