Renamed Project#public named_scope so it will not override Ruby's public method
#4056 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2941 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -24,7 +24,7 @@ class WelcomeController < ApplicationController
|
||||
end
|
||||
|
||||
def robots
|
||||
@projects = Project.public.active
|
||||
@projects = Project.all_public.active
|
||||
render :layout => false, :content_type => 'text/plain'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user