Skip to content
Snippets Groups Projects
Commit 02696a06 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Change default avatar, redirect to home after sign up

parent 9d555293
No related branches found
No related tags found
No related merge requests found
app/assets/images/avatars/missing.png

909 B | W: | H:

app/assets/images/avatars/missing.png

9.65 KiB | W: | H:

app/assets/images/avatars/missing.png
app/assets/images/avatars/missing.png
app/assets/images/avatars/missing.png
app/assets/images/avatars/missing.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -267,5 +267,6 @@
font-weight: 500;
text-align: center;
padding: 15px 0;
padding-bottom: 25px;
cursor: default;
}
......@@ -17,6 +17,6 @@ class Auth::RegistrationsController < Devise::RegistrationsController
end
def after_sign_up_path_for(resource)
account_path(resource.account)
root_path
end
end
......@@ -7,8 +7,12 @@
= render partial: 'header'
.activity-stream
- @statuses.each do |status|
= render partial: 'stream_entries/status', locals: { status: status, include_threads: false, is_successor: false, is_predecessor: false }
- if @statuses.empty?
.accounts-grid
= render partial: 'nothing_here'
- else
.activity-stream
- @statuses.each do |status|
= render partial: 'stream_entries/status', locals: { status: status }
= will_paginate @statuses, pagination_options
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment