Fix double render error
authorTom Hughes <tom@compton.nu>
Fri, 16 Dec 2011 08:25:59 +0000 (08:25 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 16 Dec 2011 08:25:59 +0000 (08:25 +0000)
app/controllers/changeset_controller.rb

index 941c54d499fd27e5b00bb95745def51d9dd83a5f..0c13d3892c3a930c82d444e712b533986be095e8 100644 (file)
@@ -273,6 +273,7 @@ class ChangesetController < ApplicationController
         elsif request.format == :html
           @title = t 'user.no_such_user.title'
           render :template => 'user/no_such_user', :status => :not_found
+          return
         end
       end