Skip to content

Commit

Permalink
fix bug and add Procfile
Browse files Browse the repository at this point in the history
  • Loading branch information
patwalls committed Oct 8, 2018
1 parent 82734a3 commit 8288615
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
release: rake db:migrate
web: bundle exec rails server -p $PORT
2 changes: 1 addition & 1 deletion app/views/layouts/_header.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
= link_to("YDNW", logo_path, class: "logo primary-color logo")
- if current_user
.links
= link_to("My Blog", "#{current_user.username}")
= link_to("My Blog", "/#{current_user.username}")
= link_to("Dashboard", user_root_path)
= link_to("Sign Out", destroy_user_session_path, method: :delete)
- else
Expand Down

0 comments on commit 8288615

Please sign in to comment.