Commit 4e9c7fe30d8730f107b72cab4dbf1ee6ee808ec2

Authored by dtygel
Committed by Braulio Bhavamitra
1 parent cccac6a3

Fix error in return values from redirect_to_translation

app/controllers/public/content_viewer_controller.rb
... ... @@ -107,10 +107,12 @@ class ContentViewerController < ApplicationController
107 107 if translation.language == locale
108 108 @page = translation
109 109 redirect_to :profile => @page.profile.identifier, :page => @page.explode_path
  110 + return true
110 111 end
111 112 end
112 113 end
113 114 end
  115 + false
114 116 end
115 117  
116 118 def pass_without_comment_captcha?
... ...