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

Fix #1874

parent 4d0eee5c
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,9 @@ Rails.application.routes.draw do
constraints host: ENV['OSUNY_SHOWCASE'] do
get ':feature' => 'showcase/home#feature',
as: :showcase_feature,
constraints: { feature: %w[actualites agenda portfolio]}
constraints: {
feature: /actualites|agenda|portfolio/
}
get ':tag' => 'showcase/home#tag', as: :showcase_tag
get '/' => 'showcase/home#index'
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