예제 #1
0
파일: media.py 프로젝트: algha/tarim
 def rules():
     return [
         Rule('list', type=['native']),
         Rule('upload', '/upload', 'POST', method='Upload'),
         Rule('ajax', '/ajax_media', method='ajaxMedia')
     ]
예제 #2
0
파일: type.py 프로젝트: algha/tarim
 def rules():
     return [Rule('list', type=['native'])]
예제 #3
0
파일: type.py 프로젝트: algha/tarim
 def rules():
     return [
         Rule('create', '/create', 'POST'),
         Rule('edit', '/<id>/edit', 'POST')
     ]
예제 #4
0
파일: tags.py 프로젝트: algha/tarim
 def rules():
     return [Rule('edit', '/<id>/edit', 'POST')]
예제 #5
0
파일: permission.py 프로젝트: algha/tarim
 def rules():
     return [
         Rule('list', '', type = ['native']),
         Rule('list_delete', '/<id>/delete', 'DELETE', method = 'delete')
     ]
예제 #6
0
파일: tags.py 프로젝트: algha/tarim
 def rules():
     return [
         Rule('list', '', type=['native']),
         Rule('search', '/search', method='Search')
     ]
예제 #7
0
 def rules():
     return [
         Rule('create', '/create/<permission_id>/permission', 'POST'),
         Rule('edit', '/<int:id>/edit/<permission_id>/permission', 'POST')
     ]
예제 #8
0
파일: dashboard.py 프로젝트: algha/tarim
 def rules():
     return [
         Rule('main', '/main'),
         Rule('logout', '/logout', method='Logout')
     ]
예제 #9
0
 def rules():
     return [
         Rule('list', '/<id>/type', 'POST'),
         Rule('sort', '/sort', 'POST', method='Sort')
     ]
예제 #10
0
파일: toolbox.py 프로젝트: algha/tarim
 def rules():
     return [Rule('list')]