Sha256: 4d19ac41b21847b9cf07cb026f9f70b6c866a13c082c3277dd38edb7f2cffbab

Contents?: true

Size: 238 Bytes

Versions: 1

Compression:

Stored size: 238 Bytes

Contents

module Kublog
  class ApplicationController < ActionController::Base
    include UserIntegration::Common
    
    before_filter :require_admin
    
    def require_admin
      redirect_to root_path unless is_admin?
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kublog-0.0.1.1 app/controllers/kublog/application_controller.rb