Class: Admin::AdminCommentsController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/admin/admin_comments_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject


6
7
8
9
10
# File 'app/controllers/admin/admin_comments_controller.rb', line 6

def create
  create! do |format|
    format.js {}
  end
end

#destroyObject


12
13
14
15
16
# File 'app/controllers/admin/admin_comments_controller.rb', line 12

def destroy
  destroy! do |format|
    format.js {}
  end
end