removes unneeded tags from spending proposals
This commit is contained in:
committed by
Juanjo Bazán
parent
3966d23966
commit
14e0d3a23f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user