wahanegi/vibereport

View on GitHub
app/controllers/home_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
class HomeController < ApplicationController
  include ApplicationHelper
  before_action :authenticate_user!, only: :app

  def index
    return redirect_to app_path if current_user.present?

    redirect_to new_user_session_path
  end

  def app; end
end