diff --git a/lib/social_stream/ability.rb b/lib/social_stream/ability.rb index 7d705ec9..3671516c 100644 --- a/lib/social_stream/ability.rb +++ b/lib/social_stream/ability.rb @@ -4,7 +4,10 @@ class Ability # Create a new ability for this user, who is currently representing subject def initialize(subject) - + + #Download alias action + alias_action :download, :to => :show + # Activity Objects (SocialStream.objects - [ :actor ]).map{ |obj| obj.to_s.classify.constantize