[form]: Get form working with CKAN 1.4.1 (formalchemy deprecated).
[ckanext-datagovau.git] / ckanext / exampletheme / plugin.py
blob:a/ckanext/exampletheme/plugin.py -> blob:b/ckanext/exampletheme/plugin.py
--- a/ckanext/exampletheme/plugin.py
+++ b/ckanext/exampletheme/plugin.py
@@ -87,5 +87,7 @@
                     '/user/register',
                     controller='ckanext.exampletheme.controller:CustomUserController',
                     action='custom_register')
+        map.connect('/package/new', controller='package_formalchemy', action='new')
+        map.connect('/package/edit/{id}', controller='package_formalchemy', action='edit')
         return map