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

Access Route Request Headers

$
0
0

@malissa wrote:

I need to access a custom header (set by a proxy) when my ember route is hit. Typically in an expressjs app I would do it like this:

app.get('/', function(req, res){
  req.get('Custom-Header');
});

I can't seem to find a request object in ember routes. How can I get at this information? It contains some information about the authenticated user that I want to persist across the app.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4838

Trending Articles