suite 404

This commit is contained in:
Nicolas Bally 2017-08-31 17:11:45 +02:00
parent bbbe9711eb
commit e456178fe4

View File

@ -47,6 +47,10 @@ class Public::MenuItemsController < ApplicationController
@menu_item = MenuItem.find_by_slug("404")
end
end
if @menu_item.slug == "404"
render :status => 404
end
end
end