Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
5 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
package MojoliciousTest::Baz; | ||
use Mojo::Base 'Mojolicious::Controller'; | ||
|
||
sub index { | ||
my $self = shift; | ||
$self->render(text => 'Production namespace works again!'); | ||
} | ||
sub index { shift->render_text('Production namespace has low precedence!') } | ||
|
||
1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
package MojoliciousTest3::Baz; | ||
use Mojo::Base 'Mojolicious::Controller'; | ||
use Mojo::Base 'MojoliciousTest::Baz'; | ||
|
||
sub index { | ||
my $self = shift; | ||
$self->render(text => 'Development namespace works again!'); | ||
} | ||
sub index { shift->render_text('Development namespace has high precedence!') } | ||
|
||
1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters