Skip to content
This repository
Browse code

use markdown

  • Loading branch information...
commit 145c7cba7103cc0f2e1efcb7f5685280e74221f3 1 parent d555830
Rich Trott authored December 01, 2012

Showing 1 changed file with 11 additions and 10 deletions. Show diff stats Hide diff stats

  1. 21  README.md
21  README.md
Source Rendered
@@ -202,29 +202,30 @@ router.resource('hemispheres');
202 202
 ### Resources and controllers
203 203
 
204 204
 Geddy's resource-based routes create url/request-method mappings
205  
-for easy CRUD operations like this:
  205
+for easy CRUD operations:
206 206
 
207  
-GET */snow_dogs[.extension]<br/>
  207
+```
  208
+GET */snow_dogs[.extension]
208 209
 (SnowDogs controller, index action)
209 210
 
210  
-GET */snow_dogs/add[.extension]<br/>
211  
-(SnowDogs controller, add action, for any new-resource template
212  
--- "new" is not usable as a JavaScript action name)
  211
+GET */snow_dogs/add[.extension]
  212
+(SnowDogs controller, add action, for any new-resource template&mdash;"new" is not usable as a JavaScript action name)
213 213
 
214  
-POST */snow_dogs[.extension]<br/>
  214
+POST */snow_dogs[.extension]
215 215
 (SnowDogs controller, create action)
216 216
 
217  
-GET */snow_dogs/:id[.extension]<br/>
  217
+GET */snow_dogs/:id[.extension]
218 218
 (SnowDogs controller, show action)
219 219
 
220  
-GET */snow_dogs/:id/edit[.extension]<br/>
  220
+GET */snow_dogs/:id/edit[.extension]
221 221
 (SnowDogs controller, edit action)
222 222
 
223  
-PUT */snow_dogs/:id[.extension]<br/>
  223
+PUT */snow_dogs/:id[.extension]
224 224
 (SnowDogs controller, update action)
225 225
 
226  
-DELETE */snow_dogs/:id[.extension]<br/>
  226
+DELETE */snow_dogs/:id[.extension]
227 227
 (SnowDogs controller, remove action)
  228
+```
228 229
 
229 230
 A simple controller that just responds with any
230 231
 form-post/query-string params looks like this:

0 notes on commit 145c7cb

Please sign in to comment.
Something went wrong with that request. Please try again.