Open-Source-Access-Control-.../app/controllers/mac_logs_controller.rb

10 lines
177 B
Ruby
Raw Normal View History

class MacLogsController < ApplicationController
load_and_authorize_resource :mac_log
before_filter :authenticate_user!
def index
@mac_logs = MacLog.desc.limit(1000)
end
end