Skip to content

Commit

Permalink
Refactored so that all resources are called once within the action wh…
Browse files Browse the repository at this point in the history
…ere it is supposed to be.
  • Loading branch information
baphled committed May 24, 2010
1 parent 955b845 commit 6c96648
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/parking_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ class ParkingController < ActionController::Base

def index
@tickets = LightHouse.all
@resources = Resource.all
end

def new
Expand Down

0 comments on commit 6c96648

Please sign in to comment.