aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
authorRobin Houston <robin.houston@gmail.com>2012-07-04 13:45:29 +0100
committerRobin Houston <robin.houston@gmail.com>2012-07-04 13:45:29 +0100
commitd5a43f1aa76c1e0086f08bec9c575d2a41ae9a9b (patch)
tree9c8a851c0f6e26b40be181f705bae582df20c90b /app/helpers
parent886a8baef232cce37c829137a8b6a625d16b0504 (diff)
Atom feed of request events
We need not only new requests, but new outgoing correspondence of any sort. The idea is that this feed will contain any event that would have triggered an email to be sent to the public body, so can be used as an alternative, equivalent way to stay up-to-date with happenings on WDTK (or the Alaveteli installation of choice).
Diffstat (limited to 'app/helpers')
-rwxr-xr-xapp/helpers/link_to_helper.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/helpers/link_to_helper.rb b/app/helpers/link_to_helper.rb
index efa20b723..1a86333b6 100755
--- a/app/helpers/link_to_helper.rb
+++ b/app/helpers/link_to_helper.rb
@@ -16,12 +16,6 @@ module LinkToHelper
params = {:url_title => info_request.url_title, :only_path => true}
return show_request_url(params.merge(extra_params))
end
-
- def info_request_url(info_request)
- # This method is called implicitly by the builder view views/api/new_requests.atom.builder
- # to construct the URLs for the feed entries. Therefore we return fully-qualified URLs here.
- return main_url(request_url(info_request))
- end
def request_link(info_request, cls=nil )
link_to h(info_request.title), request_url(info_request), :class => cls