Skip to content

Commit

Permalink
Update the osub subscribe call to take correct # of args
Browse files Browse the repository at this point in the history
I'm not sure how this ever worked.
  • Loading branch information
carols10cents authored and wilkie committed Nov 7, 2014
1 parent f81de27 commit b6e9f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/subscriptions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def create
hub_url = target_feed.hubs.first

sub = OSub::Subscription.new(subscription_url(target_feed.id, :format => "atom"), target_feed.url, target_feed.secret)
sub.subscribe(hub_url, true, target_feed.verify_token)
sub.subscribe(hub_url, target_feed.verify_token)
end

flash[:notice] = "Now following #{target_feed.author.username}."
Expand Down

0 comments on commit b6e9f67

Please sign in to comment.