Module Refinery::AuthenticatedSystem
In: lib/refinery/authenticated_system.rb

Methods

Public Class methods

Public Instance methods

This just defines the devise method for after sign in to support extension namespace isolation…

This defines the devise method for refinery routes

Protected Instance methods

Clear and return the stored location

Redirect to the URI stored by the most recent store_location call or to the passed default.

Pops the stored url, trims the sneaky "//" from it, and returns it.

Making sure bad urls aren‘t stored in the first place should probably be a part of the Devise::FailureApp

Store the URI of the current request in the session.

We can return to this location by calling redirect_back_or_default.

[Validate]