mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-11 15:12:37 +01:00
Convert before_filter to before_action
`before_filter` has been removed in future versions of rails. Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
This commit is contained in:
parent
dab358cad0
commit
60ae4f6f5f
13 changed files with 39 additions and 39 deletions
|
|
@ -2,8 +2,8 @@ require 'openssl'
|
|||
|
||||
class MailgunController < ApplicationController
|
||||
|
||||
skip_before_filter :login_required, :only => [:mailgun]
|
||||
before_filter :verify, :only => [:mailgun]
|
||||
skip_before_action :login_required, :only => [:mailgun]
|
||||
before_action :verify, :only => [:mailgun]
|
||||
protect_from_forgery with: :null_session
|
||||
|
||||
def mailgun
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue