2012-01-30 20:39:34 +00:00
|
|
|
# -*- encoding : utf-8 -*-
|
2011-10-14 21:45:58 +01:00
|
|
|
class EventLogsController < ApplicationController
|
|
|
|
before_filter :authenticate_user!
|
2011-11-24 21:46:19 +00:00
|
|
|
load_and_authorize_resource
|
2011-10-14 21:45:58 +01:00
|
|
|
|
|
|
|
def index
|
|
|
|
@event_logs = EventLog.default_order.eager_loading.paginate :page => params[:page]
|
|
|
|
end
|
|
|
|
end
|