Skip to content

Commit

Permalink
fix order in tags and features
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudlevy committed Dec 7, 2024
1 parent 6525cb0 commit ca267ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/showcase/websites_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def show
def tag
@tag = Communication::Website::Showcase::Tag.find_by!(slug: params[:tag])
@websites = @tag.websites.in_showcase
.ordered_by_production_date
.page(params[:page])
end

Expand All @@ -23,6 +24,7 @@ def feature
@title = Communication::Website::Showcase.title_for_feature(feature)
@websites = Communication::Website::Showcase.websites_for_feature(feature)
.in_showcase
.ordered_by_production_date
.page(params[:page])
end
end

0 comments on commit ca267ef

Please sign in to comment.