Class: Guts::TrackersController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Guts::TrackersController
- Defined in:
- app/controllers/guts/trackers_controller.rb
Overview
Trackers controller
Instance Method Summary collapse
-
#index ⇒ Object
Displays a list of tracks/logs.
Methods included from SessionsHelper
#current_user, #log_in, #log_out, #logged_in?
Instance Method Details
#index ⇒ Object
Displays a list of tracks/logs
7 8 9 |
# File 'app/controllers/guts/trackers_controller.rb', line 7 def index @tracks = Tracker.order(created_at: :desc) end |