Wednesday, July 15, 2026 2:03:23 AM
> index_controller.rb
class IndexController < ApplicationController
  def index
  end

  def login
    return redirect_to root_path if current_user

    render "layouts/oauth_login", locals: {url: user_discord_omniauth_authorize_path}
  end
end
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 43aa0d7