Skip to content

Commit

Permalink
[webui] Also submit description for add_role request
Browse files Browse the repository at this point in the history
  • Loading branch information
saschpe committed Mar 7, 2012
1 parent dd50846 commit e9be269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webui/app/controllers/request_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def add_role_request_dialog

def add_role_request
begin
req = BsRequest.new(:type => "add_role", :targetproject => params[:project], :targetpackage => params[:package], :role => params[:role], :person => params[:user])
req = BsRequest.new(:type => "add_role", :targetproject => params[:project], :targetpackage => params[:package], :role => params[:role], :person => params[:user], :description => params[:description])
req.save(:create => true)
Rails.cache.delete "requests_new"
rescue ActiveXML::Transport::NotFoundError => e
Expand Down

0 comments on commit e9be269

Please sign in to comment.