suite 404
This commit is contained in:
parent
bbbe9711eb
commit
e456178fe4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user