Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
blog_devise
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mis-21-2018-intersession
rails
blog_devise
Commits
bba52e26
Commit
bba52e26
authored
Jul 11, 2018
by
John Noel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finished initial setup of Devise
parent
2b2b5469
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Dockerfile
Dockerfile
+1
-1
devise.rb
config/initializers/devise.rb
+2
-2
No files found.
Dockerfile
View file @
bba52e26
...
...
@@ -7,7 +7,7 @@ RUN apk update && apk add build-base nodejs
RUN
apk add
--update
bash tzdata sqlite sqlite-dev
RUN
apk add
--update
git
RUN
apk add
--update
git
less
RUN
rm
-rf
/var/cache/apk/
*
...
...
config/initializers/devise.rb
View file @
bba52e26
...
...
@@ -8,7 +8,7 @@ Devise.setup do |config|
# confirmation, reset password and unlock tokens in the database.
# Devise will use the `secret_key_base` as its `secret_key`
# by default. You can change it below and use your own secret key.
#
config.secret_key = '34a4570890fd651742cd8af4f01d3dfcb5d88657d26d1b72e2b55b9a6eaf7d4ba4f76f6d50404cc5164e485dd786f6122825446a53b2349f2d9a0ea265c251ee'
config
.
secret_key
=
'34a4570890fd651742cd8af4f01d3dfcb5d88657d26d1b72e2b55b9a6eaf7d4ba4f76f6d50404cc5164e485dd786f6122825446a53b2349f2d9a0ea265c251ee'
# ==> Controller configuration
# Configure the parent class to the devise controllers.
...
...
@@ -229,7 +229,7 @@ Devise.setup do |config|
# Turn scoped views on. Before rendering "sessions/new", it will first check for
# "users/sessions/new". It's turned off by default because it's slower if you
# are using only default views.
# config.scoped_views = fals
e
config
.
scoped_views
=
tru
e
# Configure the default scope given to Warden. By default it's the first
# devise role declared in your routes (usually :user).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment