Events and JPA Events Reposytory

master
dizda13 2017-03-23 03:50:45 +01:00
parent 0b942ace1b
commit 91a3961a08
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
import java.util.List;
//@RepositoryRestResource(collectionResourceRel = "events", path = "events")
@RepositoryRestResource(collectionResourceRel = "events", path = "events")
public interface EventsJpaRepository extends PagingAndSortingRepository<Event, Long> {
Event save(Event event);