Skip to content
Snippets Groups Projects
Commit ca267ef4 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

fix order in tags and features

parent 6525cb03
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@ class Showcase::WebsitesController < Showcase::ApplicationController
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
......@@ -23,6 +24,7 @@ class Showcase::WebsitesController < Showcase::ApplicationController
@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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment