Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith Donald committed Oct 13, 2011
1 parent 7c3aa4d commit f8c3fde
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.springsource.greenhouse.account.Account;
import com.springsource.greenhouse.events.Event;
import com.springsource.greenhouse.events.EventRepository;

Expand Down Expand Up @@ -64,7 +63,7 @@ public String groupView(@PathVariable String groupKey, Model model) {
* Render the details of an event organized by the group as HTML in the web browser.
*/
@RequestMapping(value="/groups/{group}/events/{year}/{month}/{slug}", method=RequestMethod.GET)
public String eventView(@PathVariable String group, @PathVariable Integer year, @PathVariable Integer month, @PathVariable String slug, Account account, Model model) {
public String eventView(@PathVariable String group, @PathVariable Integer year, @PathVariable Integer month, @PathVariable String slug, Model model) {
Event event = eventRepository.findEventBySlug(group, year, month, slug);
model.addAttribute(event);
return "groups/event";
Expand Down

0 comments on commit f8c3fde

Please sign in to comment.