Permalink
Browse files

adjusted the mercury_edit_path helper to actually call through to the…

… engine path helper.
  • Loading branch information...
1 parent 9f20937 commit 81165a198686e355e4e1c8e0fb516fa8bbfff099 @jejacks0n committed Jun 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/helpers/mercury_helper.rb
@@ -1,7 +1,7 @@
module MercuryHelper
def mercury_edit_path(path = nil)
- "/editor/#{path.nil? ? request.path.gsub(/^\/\/?(editor)?/, '') : path}"
+ mercury_engine.mercury_editor_path(path.nil? ? request.path.gsub(/^\/\/?(editor)?/, '') : path)
end
end

0 comments on commit 81165a1

Please sign in to comment.