Open
Conversation
change Controller prepend_view_path method return value, missing template errors.
Owner
|
辛苦~ |
Author
|
1、assets_controller.rb |
Author
|
Owner
|
1.关于改变prepend_view_path的情况我不太明白,Dir.chdir(dir)和Dir.chdir(Rails.public_path)会影响模板加载吗? 2.Digest::MD5.hexdigest(File.dirname(current_path)).slice(0, 12)这样取文件名不会重复的,之所以裁剪是因为文件名实在太长。 3.self.save_upload_info?方法主要是判断是否把文件信息存入数据库,如果运行了 rails generate rails_kindeditor:migration该方法就会返回true ========= 华丽的分割线 ========= 另外: 1.你的代码是否经过测试?我clone了你的 2.你对于kindeditor.js的修改很多,我建议不要动官方代码,这部分修改意见可否提交到 |
modify flash plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
modify code