Sha256: 78b2d162d6199960b57a72178e03084560f9d65eeb1b6fc463cd926d996aab48

Contents?: true

Size: 458 Bytes

Versions: 1

Compression:

Stored size: 458 Bytes

Contents

ActiveSupport.on_load :action_controller do
	helper Kblog::ArticlesHelper
end

Kblog.auth_type = 'basic'
#Kblog.auth_type = 'basic'#
#Kblog.auth_type = 'role'

if Kblog.auth_type == 'basic'
	Kblog.authname = 'blogger'
	Kblog.authpassword = 'changeme'
end

if Kblog.auth_type == 'role'
	# expects a User-class which responds to 'role'
	# change to necessary role of current_user
	Kblog.auth_role == 'blogger' 
end

require 'RedCloth'
require 'will_paginate'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kblog-0.0.1 test/dummy/config/initializers/kblog_init.rb