Class: Manage::PostsController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/manage/posts_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



12
13
14
# File 'app/controllers/manage/posts_controller.rb', line 12

def create
  create!{ manage_structure_posts_path(@structure.id) }
end

#destroyObject



20
21
22
# File 'app/controllers/manage/posts_controller.rb', line 20

def destroy
  destroy!{ manage_structure_posts_path(@structure.id) }
end

#updateObject



16
17
18
# File 'app/controllers/manage/posts_controller.rb', line 16

def update
  update!{ manage_structure_posts_path(@structure.id) }
end