diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb index 72104d575..b5f70e3f0 100644 --- a/app/controllers/repositories_controller.rb +++ b/app/controllers/repositories_controller.rb @@ -139,7 +139,7 @@ class RepositoriesController < ApplicationController end def revision - raise ChangesetNotFound if @rev.nil? || @rev.empty? + raise ChangesetNotFound if @rev.blank? @changeset = @repository.find_changeset_by_name(@rev) raise ChangesetNotFound unless @changeset