Skip to content

Commit

Permalink
added link to view code on Github
Browse files Browse the repository at this point in the history
  • Loading branch information
jffernan committed Apr 12, 2018
1 parent b0a35e1 commit 2f0aa2a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
8 changes: 8 additions & 0 deletions app/views/layout.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@
<div class = "container">
<h1>My Movie Collection</h1>
<%= yield %> <!--Layout will render this html view throughout all pages via yield-->
<footer>
<br></br>
<a target="_blank"
rel="noopener noreferrer"
href="https://github.com/jffernan/my-movie-collection">
*Visit GitHub To View My Code*
</a>
</footer>
</div>
</body>
</html>
5 changes: 2 additions & 3 deletions config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ development:
pool: 2
username: postgres
password: postgres
url: postgresql://xdeakonhjrivle:717abdebf23adc331816e9e5c0649c6c556e12ea6ea39e61416e36767406521d@ec2-107-21-126-193.compute-1.amazonaws.com:5432/d2gkmslbaele8v

url: postgres://xdeakonhjrivle:717abdebf23adc331816e9e5c0649c6c556e12ea6ea39e61416e36767406521d@ec2-107-21-126-193.compute-1.amazonaws.com:5432/d2gkmslbaele8v
production:
adapter: postgresql
url: postgresql://xdeakonhjrivle:717abdebf23adc331816e9e5c0649c6c556e12ea6ea39e61416e36767406521d@ec2-107-21-126-193.compute-1.amazonaws.com:5432/d2gkmslbaele8v
url: postgres://xdeakonhjrivle:717abdebf23adc331816e9e5c0649c6c556e12ea6ea39e61416e36767406521d@ec2-107-21-126-193.compute-1.amazonaws.com:5432/d2gkmslbaele8v
#development:
#url: postgresql://localhost/blog_development?pool=5
4 changes: 2 additions & 2 deletions config/environment.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'bundler'
Bundler.require
ActiveRecord::Base.establish_connection(
:adapter => "postgresql",
:database => "config/database.yml"
:adapter => "postgresql",
:database => "config/database.yml"
)
require_all 'app'

0 comments on commit 2f0aa2a

Please sign in to comment.