Parent Directory | Revision Log
added class and description to transports
1 | dpavlin | 45 | use strict; |
2 | use warnings; | ||
3 | |||
4 | package Transports::Model::TransportClass::Schema; | ||
5 | use Jifty::DBI::Schema; | ||
6 | |||
7 | # Your column definitions go here. See L<Jifty::DBI::Schema> for | ||
8 | # documentation about how to write column definitions. | ||
9 | |||
10 | column name => | ||
11 | type is 'text', | ||
12 | label is 'Request class', | ||
13 | is mandatory, | ||
14 | since '0.0.11'; | ||
15 | |||
16 | package Transports::Model::TransportClass; | ||
17 | use base qw/Transports::Record/; | ||
18 | |||
19 | # Your model-specific methods go here. | ||
20 | |||
21 | # FIXME cludge! | ||
22 | sub current_user_can { | ||
23 | return 1; | ||
24 | } | ||
25 | |||
26 | 1; | ||
27 |
ViewVC Help | |
Powered by ViewVC 1.1.26 |