Module: Commentui
- Defined in:
- lib/commentui.rb,
lib/commentui/engine.rb,
lib/commentui/version.rb,
app/models/commentui/topic.rb,
app/models/commentui/comment.rb,
lib/commentui/acts_as_commentuier.rb,
lib/commentui/acts_as_commentuiable.rb,
app/models/commentui/application_record.rb,
app/controllers/commentui/comments_controller.rb
Defined Under Namespace
Modules: ActsAsCommentuiable, ActsAsCommentuier Classes: ApplicationController, ApplicationRecord, Comment, CommentsController, Engine, Topic
Constant Summary collapse
- VERSION =
"0.2.0"
- @@base_controller =
ActionController::Base
- @@current_user_lambda =
->(context) { context.current_user }
- @@allow_modify_comment =
true
- @@allow_modify_destroy =
true
Class Method Summary collapse
Class Method Details
.configure {|_self| ... } ⇒ Object
16 17 18 |
# File 'lib/commentui.rb', line 16 def self.configure yield self end |