Add feature flag exception for the module polls

This commit is contained in:
Julian Herrero
2020-08-11 11:10:10 +07:00
parent 5d43b632e9
commit d720826e59
4 changed files with 17 additions and 0 deletions

View File

@@ -1,6 +1,9 @@
class PollsController < ApplicationController
include FeatureFlags
include PollsHelper
feature_flag :polls
before_action :load_poll, except: [:index]
before_action :load_active_poll, only: :index