Class: Shoppy::LogsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/shoppy/logs_controller.rb

Direct Known Subclasses

LogsController

Instance Method Summary collapse

Instance Method Details

#indexObject



5
6
7
# File 'app/controllers/shoppy/logs_controller.rb', line 5

def index
  @logs = Log.all.order("created_at DESC")
end