Updated door logs to work with new schema

This commit is contained in:
2012-12-15 20:37:44 -07:00
parent 4fc18013d9
commit cc3857604b
3 changed files with 3 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ class DoorLogsController < ApplicationController
# GET /door_logs
# GET /door_logs.json
def index
@door_logs = DoorLog.find(:all, :order => "created_at DESC")
@door_logs = DoorLog.find(:all, :order => "created_at DESC", :limit => 500)
respond_to do |format|
format.html # index.html.erb