removes unneeded tags from spending proposals

This commit is contained in:
Juanjo Bazán
2016-01-19 13:35:08 +01:00
committed by Juanjo Bazán
parent 3966d23966
commit 14e0d3a23f

View File

@@ -12,7 +12,6 @@ class SpendingProposalsController < ApplicationController
def new
@spending_proposal = SpendingProposal.new
@featured_tags = ActsAsTaggableOn::Tag.where(featured: true)
end
def create
@@ -22,7 +21,6 @@ class SpendingProposalsController < ApplicationController
if @spending_proposal.save_with_captcha
redirect_to spending_proposals_path, notice: t('flash.actions.create.notice', resource_name: t("activerecord.models.spending_proposal", count: 1))
else
@featured_tags = ActsAsTaggableOn::Tag.where(featured: true)
render :new
end
end