lib/social_stream/controllers/subjects.rb in social_stream-base-0.13.2 vs lib/social_stream/controllers/subjects.rb in social_stream-base-0.14.0

- old
+ new

@@ -5,14 +5,12 @@ included do inherit_resources end - module InstanceMethods - # Overwrite {SocialStream::Controllers::Helpers::InstanceMethods#profile_subject} - def profile_subject - !resource.new_record? && resource || current_subject - end + # Overwrite {SocialStream::Controllers::Helpers::InstanceMethods#profile_subject} + def profile_subject + !resource.new_record? && resource || current_subject end end end end