Module: SocialStream::Controllers::Objects::UpperInstanceMethods
- Defined in:
- lib/social_stream/controllers/objects.rb
Overview
Methods that should be included after the included block
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
29 30 31 32 33 |
# File 'lib/social_stream/controllers/objects.rb', line 29 def destroy @post_activity = resource.post_activity destroy! end |
#search ⇒ Object
23 24 25 26 27 |
# File 'lib/social_stream/controllers/objects.rb', line 23 def search collection_variable_set self.class.model_class.search(params[:q], ) render :layout => false end |