Project

General

Profile

Revision 9d5ef1c9

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

Fixes #21732 - Replace :before_filter with :before_action

View differences:

app/controllers/containers_controller.rb
1 1
class ContainersController < ::ApplicationController
2 2
  include ForemanDocker::FindContainer
3 3

  
4
  before_filter :find_container, :only => [:show, :commit, :power]
4
  before_action :find_container, :only => [:show, :commit, :power]
5 5

  
6 6
  def index
7 7
    @container_resources = allowed_resources

Also available in: Unified diff