work on jwt auth
This commit is contained in:
10
app/routes/authenticated/venues.js
Normal file
10
app/routes/authenticated/venues.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import Route from '../authenticated';
|
||||
import { service } from '@ember/service';
|
||||
|
||||
export default class VenuesRoute extends Route {
|
||||
@service store;
|
||||
|
||||
model() {
|
||||
return this.store.findAll('venue');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user