diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-08-27 16:13:02 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-09-16 14:03:23 +0100 |
commit | bc743d9fc8c8f740f37b91cbe374c6ae20b10619 (patch) | |
tree | cc6608daf4ad6bc8d2e0c17c2436d6976694e2c5 /spec/controllers/admin_incoming_message_controller_spec.rb | |
parent | 7cf64ac6665c8349c8b31120d6e22b800b99c3ab (diff) |
Add public criteria for message event access methods
get_last_response_event and get_last_outgoing_event are used in various
places to determine which events to link to, use in queries etc.
Restrict them to refer to the last publicly visible event of the
relevant type, and rename them to make that clear.
Diffstat (limited to 'spec/controllers/admin_incoming_message_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions