Sha256: 8893607d77a1b36bd0031c6611bfa5f5e77f7a29ed23b3797dc26842113f3ecf

Contents?: true

Size: 193 Bytes

Versions: 3

Compression:

Stored size: 193 Bytes

Contents

class PostsController < InheritedResources::Base
  respond_to :html, :xml, :js

  load_and_authorize_resource

  def destroy
    @post_activity = resource.post_activity

    destroy!
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
social_stream-0.4.2 app/controllers/posts_controller.rb
social_stream-0.4.1 app/controllers/posts_controller.rb
social_stream-0.4.0 app/controllers/posts_controller.rb