diff options
author | louise <louise> | 2009-08-26 16:52:14 +0000 |
---|---|---|
committer | louise <louise> | 2009-08-26 16:52:14 +0000 |
commit | 6ab35a4059158909d2560d2a8b201e2e477d3dcf (patch) | |
tree | 9dbe6c5ee62a1ca3668a9850ced3c1777bc3b94e /perllib/t/Cobrands/Mysite/Util.pm | |
parent | 6cc083845e75d3b9b7967c5764401caab4e77265 (diff) |
Allowing cobrands to serve pages not in the main app
Diffstat (limited to 'perllib/t/Cobrands/Mysite/Util.pm')
-rw-r--r-- | perllib/t/Cobrands/Mysite/Util.pm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/perllib/t/Cobrands/Mysite/Util.pm b/perllib/t/Cobrands/Mysite/Util.pm new file mode 100644 index 000000000..61f6fd831 --- /dev/null +++ b/perllib/t/Cobrands/Mysite/Util.pm @@ -0,0 +1,28 @@ +#!/usr/bin/perl -w +# +# Util.pm: +# Test Cobranding for FixMyStreet. +# +# +# Copyright (c) 2009 UK Citizens Online Democracy. All rights reserved. +# Email: louise@mysociety.org. WWW: http://www.mysociety.org +# +# $Id: Util.pm,v 1.1 2009-08-26 16:52:15 louise Exp $ + +package Cobrands::Mysite::Util; +use Page; +use strict; +use Carp; +use mySociety::Web qw(ent); + +sub new{ + my $class = shift; + return bless {}, $class; +} + +sub page{ + my %params = (); + return ("A cobrand produced page", %params); +} + +1; |