aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/request_controller.rb
diff options
context:
space:
mode:
authorDavid Cabo <david@calibea.com>2011-08-02 03:50:04 +0200
committerDavid Cabo <david@calibea.com>2011-08-02 03:50:04 +0200
commit755ac9e6e8cc194d771ee59d7fe815fe72454a85 (patch)
treed6562b02362c25ce0277a89bdb7c1db38390641f /app/controllers/request_controller.rb
parent18d5f7588c3040c8bce6798f9d6c9f80172c220c (diff)
implementing new request wireframes: new page to select authority to write to
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r--app/controllers/request_controller.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb
index f36fae463..d39b78f36 100644
--- a/app/controllers/request_controller.rb
+++ b/app/controllers/request_controller.rb
@@ -22,6 +22,10 @@ class RequestController < ApplicationController
rescue MissingSourceFile, NameError
end
+ def select_authority
+ medium_cache
+ end
+
def show
medium_cache
@locale = self.locale_from_params()
@@ -66,7 +70,7 @@ class RequestController < ApplicationController
@last_info_request_event_id = @info_request.last_event_id_needing_description
@new_responses_count = @info_request.events_needing_description.select {|i| i.event_type == 'response'}.size
-1
+
# Sidebar stuff
# ... requests that have similar imporant terms
behavior_cache :tag => ['similar', @info_request.id] do