Module: SocialStream::Controllers::Subjects
- Extended by:
- ActiveSupport::Concern
- Included in:
- GroupsController, UsersController
- Defined in:
- lib/social_stream/controllers/subjects.rb
Instance Method Summary collapse
-
#profile_subject ⇒ Object
Overwrite Helpers::InstanceMethods#profile_subject.
Instance Method Details
#profile_subject ⇒ Object
Overwrite Helpers::InstanceMethods#profile_subject
19 20 21 |
# File 'lib/social_stream/controllers/subjects.rb', line 19 def profile_subject self.class.model_class.find_by_slug(params[:id]) end |