Change deprecated *_filter methods to *_action
This commit is contained in:
parent
bee671c90e
commit
2100c738af
39 changed files with 66 additions and 66 deletions
|
|
@ -1,6 +1,6 @@
|
|||
class MessageThreadsController < ApplicationController
|
||||
|
||||
before_filter -> { require_plugin_enabled FoodsoftMessages }
|
||||
before_action -> { require_plugin_enabled FoodsoftMessages }
|
||||
|
||||
def index
|
||||
@groups = Group.order(:name)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
class MessagesController < ApplicationController
|
||||
|
||||
before_filter -> { require_plugin_enabled FoodsoftMessages }
|
||||
before_action -> { require_plugin_enabled FoodsoftMessages }
|
||||
|
||||
# Renders the "inbox" action.
|
||||
def index
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue