Skip to content

Instantly share code, notes, and snippets.

@dougjohnston
Created February 12, 2009 21:34
Show Gist options
  • Save dougjohnston/62884 to your computer and use it in GitHub Desktop.
Save dougjohnston/62884 to your computer and use it in GitHub Desktop.
def update
ticket = Lighthouse::Ticket.find(params[:id], :params => { :project_id => params[:project_id] })
ticket.body = params[:comment]
ticket.state = params[:state]
ticket.save
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment