Permalink
Browse files

Merge pull request #15 from dmoose/rails-3-1

Rails 3 1
  • Loading branch information...
2 parents 7387052 + e13d943 commit f16c61a3dd7c354a7ff91df9aceee06591cde056 @parndt parndt committed Feb 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/helpers/refinery/search_helper.rb
@@ -4,8 +4,8 @@ module SearchHelper
# this is where you register your result URLs based on the
# type of result we're dealing with
def result_url(result)
- result.respond_to?(:url) ? main_app.url_for(result.url) : main_app.url_for(result)
+ result.respond_to?(:url) ? refinery.url_for(result.url) : refinery.url_for(result)
end
end
-end
+end

0 comments on commit f16c61a

Please sign in to comment.