Skip to content

Commit

Permalink
Merge branch 'main' into crespire/ordered-events
Browse files Browse the repository at this point in the history
  • Loading branch information
crespire authored Oct 12, 2024
2 parents 1d868ff + 22cc2b9 commit dd898fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/admin/events_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class EventsController < BaseController
rescue_from ActiveRecord::RecordNotFound, with: :record_not_found

def index
@events = Event.with_all_rich_text.all.order(start_at: :desc)
@events = Event.with_all_rich_text.all.order(created_at: :desc)
end

def new
Expand Down

0 comments on commit dd898fb

Please sign in to comment.