File Coverage

File:lib/Railsish/ControllerHelpers.pm
Coverage:94.4%

linestmtbrancondsubpodtimecode
1package Railsish::ControllerHelpers;
2
8
8
8
70
23
89
use strict;
3
8
8
8
79
27
86
use warnings;
4
5
8
8
8
82
24
54
use Exporter::Lite;
6our @EXPORT = qw(notice_stickie);
7
8sub notice_stickie {
9
1
0
6
    my ($text) = @_;
10
1
5
    my $session = $Railsish::Controller::session;
11
1
1
3
12
    push @{$session->{notice_stickies}}, { text => $text };
12}
13
141;