Sha256: 6a1b0894f6dd55636e3f57b2862c0ddf7bb44b04b6eb8790ec1328c684f2f608
Contents?: true
Size: 342 Bytes
Versions: 4
Compression:
Stored size: 342 Bytes
Contents
class WelcomeController < ApplicationController before_action :authenticate_user!, only: "user_page" before_action :authenticate_admin!, only: "admin_page" def index redirect_to welcome_admin_page_path if current_admin redirect_to welcome_user_page_path if current_user end def admin_page end def user_page end end
Version data entries
4 entries across 4 versions & 1 rubygems