```ruby
class Butterfli::Instagram::Rails::ApiController < Butterfli::Controller
  layout nil
  protect_from_forgery with: :null_session, :if => Proc.new { |c| c.request.format == 'application/json' }

  protected
  def client
    @client ||= Butterfli.configuration.providers(:instagram).client
  end
end```

Use of namespace changes in Butterfli Rails
user
```ruby
class Butterfli::Instagram::Rails::ApiController < Butterfli::Rails::Controller
  layout nil
  protect_from_forgery with: :null_session, :if => Proc.new { |c| c.request.format == 'application/json' }

  protected
  def client
    @client ||= Butterfli.configuration.providers(:instagram).client
  end
end```
assistant