Skip to content

Commit 7984be1

Browse files
committed
Fix for Redmine version => 4.0.3
Rename `skip_before_filter` to `skip_before_action` because `skip_before_filter` was deprecated in Ruby on Rails 5
1 parent d185969 commit 7984be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/github_hook_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require "json"
22

33
class GithubHookController < ApplicationController
4-
skip_before_filter :verify_authenticity_token, :check_if_login_required
4+
skip_before_action :verify_authenticity_token, :check_if_login_required
55

66
def index
77
message_logger = GithubHook::MessageLogger.new(logger)

0 commit comments

Comments
 (0)