```ruby
class WelcomeController < ApplicationController
  skip_before_filter :authenticate_user!, only: [:index]

  def index
  end

  def secure_page
  end
end
```

Fix Rails 5 deprecation warning for skip_before_action
user
```ruby
class WelcomeController < ApplicationController
  skip_before_action :authenticate_user!, only: [:index]

  def index
  end

  def secure_page
  end
end
```
assistant