From 14e0d3a23f6c8010275a4b7feacda27dd59e9e9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baza=CC=81n?= Date: Tue, 19 Jan 2016 13:35:08 +0100 Subject: [PATCH] removes unneeded tags from spending proposals --- app/controllers/spending_proposals_controller.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/controllers/spending_proposals_controller.rb b/app/controllers/spending_proposals_controller.rb index 784fdbc2f..8cad2d552 100644 --- a/app/controllers/spending_proposals_controller.rb +++ b/app/controllers/spending_proposals_controller.rb @@ -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