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

7 lines
161 B
Ruby
Raw Normal View History

2025-08-05 16:11:24 +02:00
class MoodsController < ApplicationController
def index
2026-01-29 17:05:34 +01:00
@mode = current_user.moods.last&.mode || "croisiere"
@history = current_user.history
2025-08-05 16:11:24 +02:00
end
end