/** * Gets a single {@link EventOptionRuleEntity}. * * @param id the event type's id * @return {@link Object} */ @RequestMapping(path = "/event_option_rules/{id}", method = RequestMethod.GET) public Object getById(@PathVariable final Long id) { return repository.findOne(id); }