Module: TheComments
- Defined in:
- lib/the_comments.rb,
lib/the_comments/config.rb,
app/models/concerns/the_comments/user.rb,
app/models/concerns/the_comments/comment.rb,
lib/generators/the_comments/views_generator.rb,
app/models/concerns/the_comments/commentable.rb,
app/models/concerns/the_comments/comment_states.rb,
app/controllers/concerns/the_comments/controller.rb,
app/controllers/concerns/the_comments/view_token.rb
Defined Under Namespace
Modules: Comment, CommentStates, Commentable, Controller, Generators, User, ViewToken
Classes: Configuration, Engine
Constant Summary
collapse
'JustTheCommentsCookies'
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
6
7
8
|
# File 'lib/the_comments/config.rb', line 6
def self.config
@config
end
|
2
3
4
|
# File 'lib/the_comments/config.rb', line 2
def self.configure(&block)
yield @config ||= TheComments::Configuration.new
end
|