Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed layout path for Ckeditor::ApplicationController for enabling rails 4 file uploading #302

Closed
wants to merge 8 commits into from

Conversation

synthresin
Copy link

Ckeditor::ApplicationController class has no layout path definition,

so in Rails 4, Ckeditor::PicturesController < Ckeditor::ApplicationController uses your rails app's application.html.erb instead of ckeditor/application.html.erb as it's layout so required assets for uploading files are not loaded.

so I added layout 'ckeditor/application' in Ckeditor::ApplicationController

combined with pull request #276, file uploading in rails 4 will work well.

@sarmiena
Copy link

sarmiena commented Oct 4, 2013

+1 why hasn't this been merged?

@galetahub
Copy link
Owner

I add layout 'ckeditor/application' in Ckeditor::ApplicationController

@galetahub galetahub closed this Nov 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants