Permalink
Browse files

forgot to initialize the lighthouse object elements. This has been fixed

  • Loading branch information...
1 parent 5277009 commit 658cb19cde088198cab68cb62bb4aa5a8f978b2a @voodootikigod committed Mar 20, 2008
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/quick_tickets_controller.rb
@@ -18,6 +18,8 @@ def create
body += "\n\nCreated from the web by #{current_user.name}"
body += "\nURL: #{params[:url]}"
+ Lighthouse.account = IterativeDesigns::QuickTicket.account
+ Lighthouse.token = IterativeDesigns::QuickTicket.token
ticket = Lighthouse::Ticket.new(:project_id => IterativeDesigns::QuickTicket.project, :title=>params[:title], :body=>body)
ticket.tags << "WebTicket"
if ticket.save

0 comments on commit 658cb19

Please sign in to comment.