Skip to content

Commit 8bda117

Browse files
committed
replaced 'before_filter' to 'before_action'
1 parent b42b20b commit 8bda117

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/controllers/issue_resource_items_controller.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class IssueResourceItemsController < ApplicationController
22

3-
before_filter :find_project_by_project_id
4-
before_filter :authorize
3+
before_action :find_project_by_project_id
4+
before_action :authorize
55

66
helper :resource_items
77

app/controllers/issue_supply_items_controller.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class IssueSupplyItemsController < ApplicationController
22

3-
before_filter :find_project_by_project_id
4-
before_filter :authorize
3+
before_action :find_project_by_project_id
4+
before_action :authorize
55

66
helper :supply_items
77

0 commit comments

Comments
 (0)