No commit activity in last 3 years
No release in over 3 years
Ember-auth action redirectable module source code wrapper for ruby libs.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

action redirectable module for ember-auth

Build Status Gem Version NPM version

Redirects for post- sign in / out.

Config

App.Auth = Em.Auth.extend
  modules: ['actionRedirectable']

  actionRedirectable:
    # [string|false] (opt) fallback route name to redirect post- sign in
    #   or false to disable post- sign in redirect
    signInRoute: false

    # same
    signOutRoute: false

    # [bool] (opt) true to turn on "smart" redirect:
    #   redirect to last visited route (if any), (else back to fallback route)
    signInSmart: false

    # same
    signOutSmart: false

    # [array<string>] (opt) only used for "smart" redirect: list of route names
    #   that should be skipped when determining last visited route
    signInBlacklist: []

    # same
    signOutBlacklist: []

License

MIT