Module: addon/mixins/route

Extends

  • ember/Mixin

Members

(inner) behaviorService :ember/Service

The behavior service used to check if behavior is allowed

Type:
  • ember/Service
Source:

(inner, nullable) unableRoute :String

Route to direct user to when they have been denied access to a route

Type:
  • String
Default Value:
  • null
Source:

Methods

(inner) beforeModel(transition) → {undefined}

Enforce permission-based access restrictions

Parameters:
Name Type Description
transition ember/RSVP/Promise
Source:
Returns:
Type
undefined