Merge branch 'dev' into recrutement
[auf_rh_dae.git] / project / urls.py
index c0438ad..8a539f9 100644 (file)
@@ -14,6 +14,8 @@ urlpatterns = patterns(
     url(r'^$', 'project.views.accueil', name='accueil'),
 
     (r'^admin/', include(admin.site.urls)),
+    url(r'^api/(?P<method>[a-z_-]+)/(?P<offre_id>\d+)$', 'recrutement.api.api', 
+            name='recrutement_api'),
     url(r'^api/(?P<method>[a-z_-]+)/$', 'recrutement.api.api', 
             name='recrutement_api'),
     (r'^connexion/$', 'django.contrib.auth.views.login'),