doc/example/app/controllers/api/v1/posts_controller.rb
# override the default show action defined by `handles`
override the default show action defined by `handles`
override the default show action defined by ` handles `
def show
    super
    @post.update_attributes(view_count: @post.view_count+1)
  end
def show super @post . update_attributes ( view_count : @post . view_count + 1 ) end
override the default show action defined by `handles`
override the default show action defined by ` handles `