Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Tuttle committed Sep 30, 2012
1 parent cab2dab commit 0555d53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CF10/speakers.cfc
Expand Up @@ -30,7 +30,7 @@
access="remote"
produces="application/json"
httpMethod="GET"
restPath="/{speakerSlug}">
restPath="/{speakerSlug}"> <!--- implies /speakers/{speakerSlug} --->

<cfargument name="speakerSlug" restArgSource="path" />

Expand Down
4 changes: 2 additions & 2 deletions ColdBox/handlers/rest/speakerMember.cfc
Expand Up @@ -4,6 +4,8 @@ component{
read = "GET"
};

variables.speakerModel = createObject("component", "model.speakers");

function read(event,rc,prc){
//default the format value for this method
event.paramValue("format", "json");
Expand All @@ -17,6 +19,4 @@ component{
);
}



}

0 comments on commit 0555d53

Please sign in to comment.