blogo
blogo copied to clipboard
ckeditor in production
Hi I'm going crazy beacuse in development I have no problem. But releasing online I have an exception with ckeditor. In /blog/admin/posts/:title/edit I can't see the ckeditor. In console I have a problem that say:
if I override https://github.com/greyblake/blogo/blob/master/app/assets/javascripts/blogo/ckeditor/ckeditor_basepath.js.erb and set base_path << '/ckeditor/' instead of base_path << '/blogo/ckeditor/' I see the ckeditor in textarea but I have an exception on image upload :(
please help me Nunzio
404 error https://www.dropbox.com/s/dcdrb5975mfhtz2/Screenshot%202016-01-02%2001.56.23.png?dl=0 :(
perhaps I quite resolved but I have the only problem that in development it seems that it's all ok and image upload form point to /blog/admin/images but in production form point to /ckeditor/pictures and so I have an error of not right path... do you know how to set it to the right point?
For others who come across this, I was able to use the "non-stupid-digest-assets" gem to solve the issue as described by @eterry1388 here: https://github.com/greyblake/blogo/issues/31#issuecomment-163757183