style: correct coding style with rubocop linter

This commit is contained in:
kbe
2025-09-05 12:02:44 +02:00
parent 46c8faf10c
commit 15e3c7dff5
40 changed files with 121 additions and 1663 deletions

View File

@@ -3,8 +3,7 @@
# This controller manages all events. It load events for homepage
# and display for pagination.
class EventsController < ApplicationController
before_action :authenticate_user!, only: [ ]
before_action :authenticate_user!, only: []
before_action :set_event, only: [ :show ]
# Display all events
@@ -27,5 +26,4 @@ class EventsController < ApplicationController
def set_event
@event = Event.includes(:ticket_types).find(params[:id])
end
end