Add guide to create a proposal or investment

During a Participatory Budget, some users are getting confused and
creating a proposal instead of a budget investment. This intermediate
page should help them create investments

Adding a feature flag just in case other forks don’t need this feature
and setting seeds and dev_seeds for appropriate initial setup
This commit is contained in:
rgarcia
2018-01-18 18:20:02 +01:00
committed by Bertocq
parent 3e316edc40
commit d3d05f9cee
12 changed files with 113 additions and 3 deletions

View File

@@ -0,0 +1,19 @@
module GuidesHelper
def new_proposal_guide
if feature?("guides")
new_guide_path
else
new_proposal_path
end
end
def new_budget_investment_guide
if feature?("guides")
new_guide_path
else
new_budget_investment_path(current_budget)
end
end
end