aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/Default.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-06-09 08:53:45 +0100
committerStruan Donald <struan@exo.org.uk>2011-06-09 08:53:45 +0100
commit79edaacb35d12c0f7867aab899e016805e99268b (patch)
tree2e38a01d88e57445e06c8697cef742fab7b173d4 /perllib/FixMyStreet/Cobrand/Default.pm
parenta7fb8b236afb7f7f25008acdafdc5b0585e78b74 (diff)
parentba0bd42476b93908529f63bb8b71135ebf7a86ca (diff)
Merge branch 'migrate_to_catalyst' of ssh://git.mysociety.org/data/git/public/fixmystreet into migrate_to_catalyst
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Default.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/Default.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm
index 208ac6643..949d875a3 100644
--- a/perllib/FixMyStreet/Cobrand/Default.pm
+++ b/perllib/FixMyStreet/Cobrand/Default.pm
@@ -69,6 +69,15 @@ sub path_to_web_templates {
return FixMyStreet->path_to( 'templates/web', $self->moniker );
}
+=head1 problems_clause
+
+Returns a hash for a query to be used by problems (and elsewhere in joined
+queries) to restrict results for a cobrand.
+
+=cut
+
+sub problems_clause {}
+
=head1 problems
Returns a ResultSet of Problems, restricted to a subset if we're on a cobrand