```ruby
class MarketingController < ApplicationController
  def home; end
end
```

Add homepage redirect for self hosted users.
user
```ruby
class MarketingController < ApplicationController
  def home
    if ENV['SELF_HOSTED'] == 'true'
      redirect_to login_path
    end
  end
end
```
assistant