14 lines
243 B
Ruby
14 lines
243 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ApplicationController < ActionController::Base
|
|
before_action :authenticate_user!
|
|
|
|
def require_user
|
|
redirect_to root_path unless current_user
|
|
end
|
|
|
|
def index
|
|
redirect_to blazer_path
|
|
end
|
|
end
|