{"action":"created","issue":{"url":"https://api.github.com/repos/PerlDancer/Dancer2-Plugin-Auth-Tiny/issues/4","labels_url":"https://api.github.com/repos/PerlDancer/Dancer2-Plugin-Auth-Tiny/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/PerlDancer/Dancer2-Plugin-Auth-Tiny/issues/4/comments","events_url":"https://api.github.com/repos/PerlDancer/Dancer2-Plugin-Auth-Tiny/issues/4/events","html_url":"https://github.com/PerlDancer/Dancer2-Plugin-Auth-Tiny/issues/4","id":61040618,"number":4,"title":"Route exception: Hook 'database_connected' does not exist","user":{"login":"neiromancer","id":4488362,"avatar_url":"https://avatars.githubusercontent.com/u/4488362?v=3","gravatar_id":"","url":"https://api.github.com/users/neiromancer","html_url":"https://github.com/neiromancer","followers_url":"https://api.github.com/users/neiromancer/followers","following_url":"https://api.github.com/users/neiromancer/following{/other_user}","gists_url":"https://api.github.com/users/neiromancer/gists{/gist_id}","starred_url":"https://api.github.com/users/neiromancer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neiromancer/subscriptions","organizations_url":"https://api.github.com/users/neiromancer/orgs","repos_url":"https://api.github.com/users/neiromancer/repos","events_url":"https://api.github.com/users/neiromancer/events{/privacy}","received_events_url":"https://api.github.com/users/neiromancer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-13T11:14:26Z","updated_at":"2015-04-10T02:17:38Z","closed_at":null,"body":"I have in my app\r\nuse Dancer2; #(0.159002)\r\nuse Dancer2::Session::Cookie #(0.006)\r\nuse Dancer2::Plugin::Database #(2.12)\r\nand after I tried to use\r\nuse Dancer2::Plugin::Auth::Tiny #(0.005)\r\nI'v got an error\r\n\r\nEntering hook core.app.before_request in /usr/local/share/perl/5.18.2/Dancer2/Core/App.pm l. 1245\r\nDEPRECATED: Dancer2::Plugin::Database calls 'dsl' instead of '$dsl->dsl'. at /usr/local/share/perl/5.18.2/Dancer2/Plugin/Database.pm line 31.\r\n[appname:23812] debug @2015-03-13 13:11:37> Adding pg_enable_utf8 to DBI connection params to enable UTF-8 support in /usr/local/share/perl/5.18.2/Dancer/Plugin/Database/Core.pm l. 108\r\n[appname:23812] error @2015-03-13 13:11:37> Route exception: Hook 'database_connected' does not exist at /usr/local/share/perl/5.18.2/Dancer2/Plugin/Database.pm line 45. in /usr/share/perl5/Return/MultiLevel.pm l. 54\r\n\r\nis it a problem with P::A::T or P::Database ?"},"comment":{"url":"https://api.github.com/repos/PerlDancer/Dancer2-Plugin-Auth-Tiny/issues/comments/91403616","html_url":"https://github.com/PerlDancer/Dancer2-Plugin-Auth-Tiny/issues/4#issuecomment-91403616","issue_url":"https://api.github.com/repos/PerlDancer/Dancer2-Plugin-Auth-Tiny/issues/4","id":91403616,"user":{"login":"drmuey","id":1204812,"avatar_url":"https://avatars.githubusercontent.com/u/1204812?v=3","gravatar_id":"","url":"https://api.github.com/users/drmuey","html_url":"https://github.com/drmuey","followers_url":"https://api.github.com/users/drmuey/followers","following_url":"https://api.github.com/users/drmuey/following{/other_user}","gists_url":"https://api.github.com/users/drmuey/gists{/gist_id}","starred_url":"https://api.github.com/users/drmuey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drmuey/subscriptions","organizations_url":"https://api.github.com/users/drmuey/orgs","repos_url":"https://api.github.com/users/drmuey/repos","events_url":"https://api.github.com/users/drmuey/events{/privacy}","received_events_url":"https://api.github.com/users/drmuey/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T02:17:38Z","updated_at":"2015-04-10T02:17:38Z","body":"I'm tripping on this too, I created an issue for this in D1::P::Database\r\n"}}