Created
June 11, 2013 15:59
-
-
Save msouth/5758138 to your computer and use it in GitHub Desktop.
dancer -a Minimal::Reproduce; edit the .pm file to look like this; perl Makefile.PL; make; make test; fails because simple_crud() tries to connect to database and doesn't know how
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
package Minimal::Reproduce; | |
use Dancer ':syntax'; | |
use Dancer::Plugin::SimpleCRUD; | |
our $VERSION = '0.1'; | |
get '/' => sub { | |
template 'index'; | |
}; | |
simple_crud( | |
record_title=>'Cluster', | |
db_table=>'cluster', | |
prefix=>'/cluster', | |
sortable => 1, | |
); | |
true; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment