| File: | t/SimpleApp/lib/SimpleApp/WelcomeController.pm |
| Coverage: | 78.9% |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package SimpleApp::WelcomeController; | ||||||
| 2 | 1 1 1 | 8 3 10 | use strict; | ||||
| 3 | 1 1 1 | 12 2 10 | use warnings; | ||||
| 4 | |||||||
| 5 | 1 1 1 | 76 4 14 | use Railsish::Controller; | ||||
| 6 | |||||||
| 7 | sub index { | ||||||
| 8 | 0 | 0 | 0 | render(title => "Welcome"); | |||
| 9 | } | ||||||
| 10 | |||||||
| 11 | sub here { | ||||||
| 12 | 1 | 0 | 4 | our $answer = 42; | |||
| 13 | 1 | 6 | render; | ||||
| 14 | } | ||||||
| 15 | |||||||
| 16 | 1; | ||||||
| 17 | |||||||