Class: Tenon::PostsController

Inherits:
ResourcesController show all
Defined in:
app/controllers/tenon/posts_controller.rb

Instance Method Summary collapse

Methods inherited from ResourcesController

#create, #destroy, #edit, #index, #initialize, #new, #reorder

Constructor Details

This class inherits a constructor from Tenon::ResourcesController

Instance Method Details

#updateObject



5
6
7
8
# File 'app/controllers/tenon/posts_controller.rb', line 5

def update
  params[:post][:post_category_ids] ||= []
  super
end