Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Authentication by model with name other, than User
- Loading branch information
1 parent
81840ee
commit 21529f3
Showing
3 changed files
with
7 additions
and
2 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
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
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,5 +1,5 @@ | |||
Rails.application.routes.draw do | Rails.application.routes.draw do | ||
|
|
||
get 'dev/log_in/:login' => "dev_log_in#log_in" | get 'dev/log_in/:login(/:model)' => "dev_log_in#log_in" | ||
|
|
||
end | end |