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/containers/steps_controller.rb
5 5

  
6 6
    steps :preliminary, :image, :configuration, :environment
7 7

  
8
    before_filter :find_state
9
    before_filter :build_state, :only => [:update]
10
    before_filter :set_form, :only => [:show]
8
    before_action :find_state
9
    before_action :build_state, :only => [:update]
10
    before_action :set_form, :only => [:show]
11 11

  
12 12
    def show
13 13
      @container_resources = allowed_resources if step == :preliminary

Also available in: Unified diff