Project

General

Profile

Revision 9d5ef1c9

Added by Ondřej Pražák over 4 years ago

Fixes #21732 - Replace :before_filter with :before_action

View differences:

app/controllers/api/v2/containers_controller.rb
2 2
module Api
3 3
  module V2
4 4
    class ContainersController < ::Api::V2::BaseController
5
      before_filter :find_resource, :except => %w(index create)
5
      before_action :find_resource, :except => %w(index create)
6 6

  
7 7
      resource_description do
8 8
        resource_id 'containers'

Also available in: Unified diff