class Admin::AllPageController < ApplicationController
before_action :authenticate_admin!
layout 'admin'
def index
@adm = AllPage.all
end
def show
def new
def create
def edit
def update
def destroy
def publish
def unpublish