Shared behaviour for get actions in controllers