File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ class ConfigurationError < StandardError ; end
66 extend ActiveSupport ::Concern
77
88 included do
9- with_options if : :should_authenticate_chatops? do
10- before_action :ensure_valid_chatops_url
11- before_action :ensure_valid_chatops_timestamp
12- before_action :ensure_valid_chatops_signature
13- before_action :ensure_valid_chatops_nonce
14- before_action :ensure_chatops_authenticated
9+ with_options if : :should_authenticate_chatops? do | controller |
10+ controller . before_action :ensure_valid_chatops_url
11+ controller . before_action :ensure_valid_chatops_timestamp
12+ controller . before_action :ensure_valid_chatops_signature
13+ controller . before_action :ensure_valid_chatops_nonce
14+ controller . before_action :ensure_chatops_authenticated
1515 end
1616 before_action :ensure_user_given
1717 before_action :ensure_method_exists
You can’t perform that action at this time.
0 commit comments