1 2 3 4 5
class Admin::AdminController < ApplicationController before_action :authenticate_user! layout "admin" end