diff options
| author | mo khan <mo@mokhan.ca> | 2014-10-18 18:45:06 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-10-18 18:45:06 -0600 |
| commit | d11af17e3cbc3622fae5f7cec5c31a2f44ebdf41 (patch) | |
| tree | 3adb32253ec0522c93b3f8f146497d94bbcbef7b /app/services | |
| parent | db4e721c0e1b733794531234e3401a454a75f233 (diff) | |
update routes to point to cakes controller.
Diffstat (limited to 'app/services')
| -rw-r--r-- | app/services/application/handlers/publish_cake_to_twitter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/application/handlers/publish_cake_to_twitter.rb b/app/services/application/handlers/publish_cake_to_twitter.rb index 0ae62237..ccc204a7 100644 --- a/app/services/application/handlers/publish_cake_to_twitter.rb +++ b/app/services/application/handlers/publish_cake_to_twitter.rb @@ -19,7 +19,7 @@ class PublishCakeToTwitter end def tweet_for(cake) - "#{cake.name} By #{cake.user.name} on #{routes.creation_url(cake)}!" + "#{cake.name} By #{cake.user.name} on #{routes.cake_url(cake)}!" end def routes |
