diff options
author | elijah <elijah@riseup.net> | 2012-12-07 12:34:09 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2012-12-07 12:34:09 -0800 |
commit | a085bb3e46ac9cbf8e6f3bfeba79ddac890ef025 (patch) | |
tree | a1e5a318a40fb9bb5a022f9f4db7ba6773dcfa8b /app/helpers/application_helper.rb | |
parent | 0e971adb4ba67e42942864e04a7fa8bb8eb9c2e4 (diff) |
minor fixes for atom feed
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r-- | app/helpers/application_helper.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 15493e1..b5bb657 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -30,9 +30,7 @@ module ApplicationHelper else klass = options[:class] if options end - if name.starts_with?('#') - path = name - elsif name.starts_with?('http') + if name.starts_with?('#') || name.starts_with?('http') path = name else page = StaticPage.find(name) |