Class: Manage::PostsController

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

Instance Method Summary collapse

Instance Method Details

#createObject



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

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

#destroyObject



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

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

#updateObject



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

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