Skip to content

Commit

Permalink
Temporarily disable Rails/LexicallyScopedActionFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines committed Dec 3, 2023
1 parent 2c52305 commit eb2189b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/clickers_controller.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# ClickersController
class ClickersController < ApplicationController
# rubocop:todo Rails/LexicallyScopedActionFilter
skip_before_action :authenticate_user!, only: [:show, :edit, :open, :close,
:reset,
:votes_count,
:set_alternatives,
:render_clickerizable_actions]
# rubocop:enable Rails/LexicallyScopedActionFilter
before_action :set_clicker, except: [:new, :create]
authorize_resource except: [:new, :create, :edit, :open, :close,
:set_alternatives]
Expand Down

0 comments on commit eb2189b

Please sign in to comment.