-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configured devise default sign in path, configured dj admin
- Loading branch information
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
class ApplicationController < ActionController::Base | ||
protect_from_forgery | ||
# def after_sign_in_path_for(resource_or_scope) | ||
# if resource_or_scope.is_a?(current_user) | ||
# current_user_pictures_url(current_user) | ||
# else | ||
# super | ||
# end | ||
# end | ||
|
||
def delayed_job_admin_authentication | ||
# authentication_logic_goes_here | ||
end | ||
end |