Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

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

$
0
0

@niconel wrote:

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.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles