app.kluk.fr/app/controllers/moods_controller.rb

7 lines
157 B
Ruby
Raw Permalink Normal View History

2025-08-05 16:11:24 +02:00
class MoodsController < ApplicationController
def index
@mode = Mood.last&.mode || "croisiere"
2025-10-03 18:03:46 +02:00
@mood_log = Mood.history_for_a_year || []
2025-08-05 16:11:24 +02:00
end
end