class DemanderStatusesController < ApplicationController
- layout 'test' if MagicNumber['test_layout']
- before_filter :authenticate_admin!, :only => [:index, :show, :edit, :update, :destroy]
+ before_action :authenticate_admin!, :only => [:index, :show, :edit, :update, :destroy]
def index
@page = DemanderStatus.page params[:page]