app/helpers/imperavi_rails/imperavi_helper.rb in imperavi-rails-0.0.6.beta vs app/helpers/imperavi_rails/imperavi_helper.rb in imperavi-rails-0.0.7.beta

- old
+ new

@@ -43,10 +43,12 @@ :imageUploadCallback => false, # Paths to various handlers :paths => { # Editor css - :stylesheets => [imperavi_stylesheet_path('wym')], + # TODO stylesheet_path does not work here. + # this is temoarary fix I hope + :stylesheets => [stylesheet_link_tag('wym').match(/href="([^"]+)"/)[1]], # Ugly but works # Toolbar :toolbar => imperavi_rails.toolbar_path(:format => :js), # Interface translations