Module: Commontator
- Defined in:
- lib/commontator.rb,
lib/commontator/engine.rb,
lib/commontator/version.rb,
app/models/commontator/thread.rb,
app/models/commontator/comment.rb,
lib/commontator/commontable_config.rb,
lib/commontator/commontator_config.rb,
app/models/commontator/subscription.rb,
lib/commontator/acts_as_commontable.rb,
lib/commontator/acts_as_commontator.rb,
app/helpers/commontator/threads_helper.rb,
app/helpers/commontator/comments_helper.rb,
app/helpers/commontator/application_helper.rb,
app/helpers/commontator/commontator_helper.rb,
app/helpers/commontator/subscriptions_helper.rb,
app/mailers/commontator/subscriptions_mailer.rb,
app/controllers/commontator/threads_controller.rb,
app/controllers/commontator/comments_controller.rb,
app/controllers/commontator/application_controller.rb,
app/controllers/commontator/subscriptions_controller.rb
Defined Under Namespace
Modules: ActsAsCommontable, ActsAsCommontator, ApplicationHelper, CommentsHelper, CommontatorHelper, SubscriptionsHelper, ThreadsHelper Classes: ApplicationController, Comment, CommentsController, CommontableConfig, CommontatorConfig, Engine, Subscription, SubscriptionsController, SubscriptionsMailer, Thread, ThreadsController
Constant Summary collapse
- ENGINE_ATTRIBUTES =
Can be set in initializer only
[ :current_user_method, :javascript_proc ]
- COMMONTATOR_ATTRIBUTES =
Can be set in initializer or passed as an option to acts_as_commontator
[ :commontator_missing_name, :commontator_name_clickable, :commontator_email_method, :commontator_name_method, :is_admin_method ]
- COMMONTABLE_ATTRIBUTES =
Can be set in initializer or passed as an option to acts_as_commontable
[ :comment_name, :comment_create_verb_present, :comment_create_verb_past, :commontable_name, :commontable_url_proc, :subscription_email_subject_proc, :timestamp_format, :admin_can_edit_comments, :auto_subscribe_on_comment, :can_edit_own_comments, :can_edit_old_comments, :can_delete_own_comments, :can_delete_old_comments, :can_subscribe_to_thread, :comments_can_be_voted_on, :comments_ordered_by_votes, :closed_threads_are_readable, :deleted_comments_are_visible, :commontable_id_method, :can_edit_thread_method, :can_read_thread_method, :comment_created_callback, :comment_edited_callback, :comment_deleted_callback, :thread_closed_callback, :subscribe_callback, :unsubscribe_callback ]
- VERSION =
"0.4.1"
Class Method Summary collapse
Class Method Details
.configure {|_self| ... } ⇒ Object
55 56 57 |
# File 'lib/commontator.rb', line 55 def self.configure yield self end |