app/helpers/imperavi_rails/imperavi_helper.rb in imperavi-rails-0.0.2.beta vs app/helpers/imperavi_rails/imperavi_helper.rb in imperavi-rails-0.0.3.beta
- old
+ new
@@ -5,18 +5,18 @@
def imperavi_stylesheet_path(source)
stylesheet_path("imperavi-rails/imperavi/#{source}")
end
def imperavi_javascript_path(source)
- javascript_path("imperavi-rails/imperavi/#{source}")
+ javascript_path("imperavi-rails/#{source}")
end
def include_imperavi_stylesheet
stylesheet_link_tag imperavi_stylesheet_path('redactor')
end
def include_imperavi_javascript
- javascript_include_tag imperavi_javascript_path('redactor')
+ javascript_include_tag imperavi_javascript_path('imperavi')
end
def imperavi(element, options = {}, wrap = true)
result = %Q(
$(document).ready(function() {