Skip to content

Commit

Permalink
Added specs and implementation code for the parking controlers ticket…
Browse files Browse the repository at this point in the history
…s action.
  • Loading branch information
baphled committed May 14, 2010
1 parent 85f7511 commit 265781f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/controllers/parking_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# To change this template, choose Tools | Templates
# and open the template in the editor.

class ParkingController < ActionController::Base
layout "application"

Expand All @@ -9,7 +6,7 @@ def new
end

def tickets
@tickets = Lighthouse::Ticket.find(:all, :params => { :project_id => '50164', :q => "state:open tagged:#{params[:tag]}" })
@tickets = Resource.tickets('baphled', '50164', params[:tag])
end

def create
Expand Down

0 comments on commit 265781f

Please sign in to comment.