Skip to content

Commit

Permalink
Fix should_route.
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosbrando committed Sep 30, 2008
1 parent ecc7797 commit c6d9f63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Snippets/should_route.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>should_route :${1:get|post|put|delete}, '${2:/posts}'${3:, :controller =&gt; :${4:posts}}${5:, :action =&gt; :${6:create}}${7:, :id =&gt; ${8:1}}</string>
<string>should_route :${1:get|post|put|delete}, "${2:/posts}"${3:, :controller =&gt; :${4:posts}}${5:, :action =&gt; :${6:create}}${7:, :id =&gt; ${8:1}}</string>
<key>name</key>
<string>should_route</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Syntaxes/Shoulda.tmLanguage
Expand Up @@ -121,7 +121,7 @@
<key>macros</key>
<dict>
<key>match</key>
<string>\b(should_require_attributes|should_require_unique_attributes|should_protect_attributes|should_not_allow_values_for|should_allow_values_for|should_ensure_length_in_range|should_ensure_length_at_least|should_ensure_value_in_range|should_only_allow_numeric_values_for|should_have_many|should_have_and_belong_to_many|should_have_one|should_belong_to|should_be_restful|should_set_the_flash_to|should_not_set_the_flash|should_assign_to|should_not_assign_to|should_respond_with|should_render_template|should_redirect_to|should_render_a_form|setup|teardown|fixtures|load_all_fixtures|should_have_db_column|should_have_db_columns|should_have_index|should_have_indices|should_require_acceptance_of|shuold_set_the_flash_to|should_have_readonly_attributes|should_change|should_not_change|should_have_named_scope|should_ensure_length_is|should_filter_params|should_respond_with_content_type)\b</string>
<string>\b(should_require_attributes|should_require_unique_attributes|should_protect_attributes|should_not_allow_values_for|should_allow_values_for|should_ensure_length_in_range|should_ensure_length_at_least|should_ensure_value_in_range|should_only_allow_numeric_values_for|should_have_many|should_have_and_belong_to_many|should_have_one|should_belong_to|should_be_restful|should_set_the_flash_to|should_not_set_the_flash|should_assign_to|should_not_assign_to|should_respond_with|should_render_template|should_redirect_to|should_render_a_form|setup|teardown|fixtures|load_all_fixtures|should_have_db_column|should_have_db_columns|should_have_index|should_have_indices|should_require_acceptance_of|shuold_set_the_flash_to|should_have_readonly_attributes|should_change|should_not_change|should_have_named_scope|should_ensure_length_is|should_filter_params|should_respond_with_content_type|should_route)\b</string>
<key>name</key>
<string>support.shoulda.macro</string>
</dict>
Expand Down

0 comments on commit c6d9f63

Please sign in to comment.