Skip to content

Commit

Permalink
absolute url changes to twitter_config
Browse files Browse the repository at this point in the history
  • Loading branch information
banane committed Mar 16, 2010
1 parent 2604e60 commit 2d712e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/twitter_notification.rb
Expand Up @@ -28,9 +28,9 @@ def notify_twitter

def absolute_url
if twitter_config['twitter.url_host'] =~ /^http/
"#{config['twitter.url_host']}#{self.url}"
"#{twitter_config['twitter.url_host']}#{self.url}"
else
"http://#{config['twitter.url_host']}#{self.url}"
"http://#{twitter_config['twitter.url_host']}#{self.url}"
end
end

Expand Down
1 change: 0 additions & 1 deletion twitter_extension.rb
Expand Up @@ -13,7 +13,6 @@ class TwitterExtension < Radiant::Extension

def activate
unless admin.respond_to?(:settings)
# admin.tabs.add "Twitter", "/admin/twitter"
tab "Content" do
add_item( "Twitter", "/admin/twitter")
end
Expand Down

0 comments on commit 2d712e9

Please sign in to comment.