adds crud specs for proposals

This commit is contained in:
rgarcia
2015-09-13 11:47:57 +02:00
parent c2750a8461
commit f3af263e68
8 changed files with 315 additions and 22 deletions

View File

@@ -36,7 +36,7 @@ class ProposalsController < ApplicationController
if @proposal.save_with_captcha
ahoy.track :proposal_created, proposal_id: @proposal.id
redirect_to @proposal, notice: t('flash.actions.create.notice', resource_name: 'proposal')
redirect_to @proposal, notice: t('flash.actions.create.notice', resource_name: 'Proposal')
else
load_featured_tags
render :new