"Create" in it's own view, not in outlet


#1

Lot of information these days, so probably just missed something silly

I got a “deals” route (which list deals) and a “deals.create” to create a new one.

But I do not want the create template to open in an outlet on the deals template. Just cannot get this right

Router

       this.route('deals', function() {
           this.route('create');
        });

Routes (templates have same convention):

routes/deals.js
routes/deals/create.js

I left out the outlet tag in the deals view.


#2

Create routes/deals/index.hbs and move your list to index.hbs.