[opensuse-buildservice] Re: [PATCH] hide some linkes in anonymous mode
Freitag 19 März 2010 sent OBS build:
--- a/src/webui/app/controllers/project_controller.rb +++ b/src/webui/app/controllers/project_controller.rb @@ -218,6 +218,7 @@ class ProjectController < ApplicationController end
def repositories + @user ||= Person.find( :login => session[:login] ) end
#update project flags @@ -717,7 +718,12 @@ class ProjectController < ApplicationController render :partial => 'shared/rate' end
+ def meta + @user ||= Person.find( :login => session[:login] ) + end + def prjconf + @user ||= Person.find( :login => session[:login] ) end
def edit_prjconf
Hi, Please use filters for such repeated actions. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (1)
-
Stephan Kulow