Change default avatar, redirect to home after sign up
parent
9d55529318
commit
02696a063e
Binary file not shown.
Before Width: | Height: | Size: 909 B After Width: | Height: | Size: 9.6 KiB |
|
@ -267,5 +267,6 @@
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 15px 0;
|
padding: 15px 0;
|
||||||
|
padding-bottom: 25px;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,6 +17,6 @@ class Auth::RegistrationsController < Devise::RegistrationsController
|
||||||
end
|
end
|
||||||
|
|
||||||
def after_sign_up_path_for(resource)
|
def after_sign_up_path_for(resource)
|
||||||
account_path(resource.account)
|
root_path
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -7,8 +7,12 @@
|
||||||
|
|
||||||
= render partial: 'header'
|
= render partial: 'header'
|
||||||
|
|
||||||
.activity-stream
|
- if @statuses.empty?
|
||||||
- @statuses.each do |status|
|
.accounts-grid
|
||||||
= render partial: 'stream_entries/status', locals: { status: status, include_threads: false, is_successor: false, is_predecessor: false }
|
= render partial: 'nothing_here'
|
||||||
|
- else
|
||||||
|
.activity-stream
|
||||||
|
- @statuses.each do |status|
|
||||||
|
= render partial: 'stream_entries/status', locals: { status: status }
|
||||||
|
|
||||||
= will_paginate @statuses, pagination_options
|
= will_paginate @statuses, pagination_options
|
||||||
|
|
Loading…
Reference in New Issue