Fixes valid revision regexp.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4549 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2010-12-20 18:47:54 +00:00
parent c42b0ad6b7
commit 03397f605c
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ class RepositoriesController < ApplicationController
private private
REV_PARAM_RE = %r{^[a-f0-9]*$}i REV_PARAM_RE = %r{\A[a-f0-9]*\Z}i
def find_repository def find_repository
@project = Project.find(params[:id]) @project = Project.find(params[:id])