Class: TDiary::TDiaryConf

Inherits:
TDiaryAuthorOnlyBase show all
Defined in:
lib/tdiary/author_only_base.rb

Overview

class TDiaryConf

show configuration form

Direct Known Subclasses

TDiarySaveConf

Constant Summary

Constants inherited from TDiaryBase

TDiary::TDiaryBase::DIRTY_COMMENT, TDiary::TDiaryBase::DIRTY_DIARY, TDiary::TDiaryBase::DIRTY_NONE, TDiary::TDiaryBase::DIRTY_REFERER

Instance Attribute Summary

Attributes inherited from TDiaryBase

#cgi, #conf, #cookies, #date, #diaries, #ignore_parser_cache, #rhtml

Instance Method Summary collapse

Methods inherited from TDiaryBase

#[], #calendar, #eval_rhtml, #last_modified

Methods included from ViewHelper

#base_url, #bot?

Constructor Details

#initialize(cgi, rhtml, conf) ⇒ TDiaryConf

Returns a new instance of TDiaryConf.



133
134
135
136
# File 'lib/tdiary/author_only_base.rb', line 133

def initialize( cgi, rhtml, conf )
	super
	@key = @cgi.params['conf'][0] || ''
end

Instance Method Details

#csrf_protection_get_is_okayObject



131
# File 'lib/tdiary/author_only_base.rb', line 131

def csrf_protection_get_is_okay; true; end