fixes specs

This commit is contained in:
rgarcia
2016-06-16 12:06:26 +02:00
parent b3fd5e225a
commit 18dd9c95f3
10 changed files with 18 additions and 10 deletions

View File

@@ -13,6 +13,7 @@ class Management::ProposalsController < Management::BaseController
def show
super
@notifications = @proposal.notifications
redirect_to management_proposal_path(@proposal), status: :moved_permanently if request.path != management_proposal_path(@proposal)
end