~fabiocbalbuquerque/sahana-agasti/web-services

« back to all changes in this revision

Viewing changes to apps/frontend/config/routing.yml

  • Committer: Chad Heuschober
  • Date: 2011-06-06 13:37:45 UTC
  • mfrom: (1.1.1244 trunk)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: chad.heuschober@mail.cuny.edu-20110606133745-850mdvnjtv392zta
Pulled in most recent batch of changes from the cuny sps trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# http://www.symfony-project.org/reference/1_4/en/10-Routing
3
3
 
4
4
# default rules
 
5
#TODO: Utilize route collections here! -UA
5
6
homepage:
6
7
  url:   /
7
8
  param: { module: home, action: index }
30
31
  url:  /facility/import
31
32
  param: { module: facility, action: import }
32
33
 
 
34
facility_poll:
 
35
  url:  /facility/poll
 
36
  param: { module: facility, action: poll }
 
37
 
33
38
api_facility:
34
39
  url:     /facility/facilities.:sf_format
35
40
  param:   { module: facility, action: list } 
78
83
  options: { model: agScenario, type: object }
79
84
  param:   { module: scenario, action search }
80
85
 
 
86
scenario_fgroup_delete:
 
87
  url:     /scenario/facilityGroupDelete/:groupId
 
88
  options: { model: agScenario, typeL object }
 
89
  param:   { module: scenario, action: facilityGroupDelete }
 
90
  
81
91
scenario_fgroup_edit:
82
92
  url:     /scenario/:id/fgroup/:groupid
83
93
  options: { model: agScenario, type: object }
123
133
  options: { model: agScenario, type: object }
124
134
  param:   { module: scenario, action: listgroup }
125
135
 
 
136
scenario_facility_export:
 
137
  url:     /scenario/facilityexport/:id
 
138
  options: { model: agScenario, type: object }
 
139
  param:   { module: scenario, action: facilityexport }
 
140
 
 
141
scenario_facility_import:
 
142
  url:     /scenario/facilityimport/:id
 
143
  options: { model: agScenario, type: object }
 
144
  param:   { module: scenario, action: facilityimport }
 
145
 
126
146
sf_guard_signin:
127
147
  url:   /login
128
148
  param: { module: sfGuardAuth, action: signin }
141
161
wiki:
142
162
  url:  /wiki
143
163
 
 
164
status:
 
165
  url:  /status.:sf_format
 
166
  param: { module: admin, action: status, sf_format: html }
 
167
  requirements:
 
168
    sf_method: [get]
 
169
    sf_format: (?:html|json)
 
170
 
 
171
status_module:
 
172
  url:  /:module/status.:sf_format
 
173
  param: { action: status, sf_format: html }
 
174
  requirements:
 
175
    sf_method: [get]
 
176
    sf_format: (?:html|json)
 
177
 
 
178
eventpoll:
 
179
  url:  /eventpoll
 
180
  param: { module: global, action: eventpoll}
 
181
 
144
182
# Keep these two at the bottom to aid in the addition of new routes.
145
183
default:
146
184
  url:   /:module/:action/*