Skip to content
Browse files

Removed leading slash so the ckeditor javascript is not handled throu…

…gh Sprockets.
  • Loading branch information...
1 parent a311e3b commit 0ed1650da46fa709c8e267b460b2a016e302b300 @japetheape japetheape committed Oct 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/rails_admin/main/_form_text.html.haml
View
2 app/views/rails_admin/main/_form_text.html.haml
@@ -5,7 +5,7 @@
-# needed for modal windows
:javascript
var CKEDITOR_BASEPATH = '/javascripts/ckeditor/';
- - head_javascript "/javascripts/ckeditor/ckeditor.js"
+ - head_javascript "javascripts/ckeditor/ckeditor.js"
- head_javascript do
- if !File.exists?(File.join(Rails.root, 'public/javascripts/ckeditor/ckeditor.js'))
alert("Install CKEditor first");

0 comments on commit 0ed1650

Please sign in to comment.
Something went wrong with that request. Please try again.