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,13 +6,11 @@ class ConfigurationError < StandardError ; end
66 extend ActiveSupport ::Concern
77
88 included do
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
15- end
9+ before_action :ensure_valid_chatops_url , if : :should_authenticate_chatops?
10+ before_action :ensure_valid_chatops_timestamp , if : :should_authenticate_chatops?
11+ before_action :ensure_valid_chatops_signature , if : :should_authenticate_chatops?
12+ before_action :ensure_valid_chatops_nonce , if : :should_authenticate_chatops?
13+ before_action :ensure_chatops_authenticated , if : :should_authenticate_chatops?
1614 before_action :ensure_user_given
1715 before_action :ensure_method_exists
1816 end
Original file line number Diff line number Diff line change 11module ChatopsController
2- VERSION = "3.0.2 "
2+ VERSION = "3.0.3 "
33end
You can’t perform that action at this time.
0 commit comments