Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

not working with Redmine 2.0 #15

Closed
archonwang opened this Issue · 7 comments

4 participants

@archonwang

It's pity not support 2.0. anyone has solution ?thanks

@danmunn

In the init.rb remove the require dispatcher, and change the dispatcher.to_prepare section to this:

Rails.application.config.to_prepare do
  RedmineCkeditor.apply_patch
end

That being said, due to the way that i18n is loaded from the editors localisation the plugin configuration is now borked as it is not valid JSON.

@archonwang

Hi, danmunn

Thanks. I will test the solution later.

@archonwang

Hi, danmunn,

Thanks a lot.
I tested on Redmine 2.0 and it woriks welle.

@danmunn

Archonwang,

I've just submitted a pull request for fixes to the plugin to get it working with redmine 2.0.0 if you'd like to try that (fixes the broken plugin configuration)

@archonwang

thanks. it works now.

@a-ono a-ono closed this
@retaiba

Please wich init.rb you speak about ?
In the init.rb remove the require dispatcher, and change the dispatcher.to_prepare section to this:

Rails.application.config.to_prepare do
RedmineCkeditor.apply_patch
end

Thinks

@retaiba

can have the path of this file ( init.rb) ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.