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,8 +1,8 @@
|
|||
# encoding: utf-8
|
||||
class DeliveriesController < ApplicationController
|
||||
|
||||
before_filter :find_supplier, :exclude => :fill_new_stock_article_form
|
||||
|
||||
before_action :find_supplier, :exclude => :fill_new_stock_article_form
|
||||
|
||||
def index
|
||||
@deliveries = @supplier.deliveries.order('delivered_on DESC')
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue