added db config default file

This commit is contained in:
Connor Turland 2013-01-20 18:00:10 -05:00
parent 1633b61637
commit a85e8fac71
2 changed files with 30 additions and 0 deletions

View file

@ -5,6 +5,11 @@
#%>
<%= div_for topic do %>
<% if topic.authorize_to_edit(user) %>
<div class="permission canEdit">
<% end %>
<div class="CardOnGraph"
id="topic_<%=topic.id %>">
<% if topic.user == user %><%= link_to 'Delete', topic_path(topic), :class => 'delete', :confirm => 'Delete this topic and all synapses linking to it?', :method => :delete, :remote => true%><% end %>
@ -59,4 +64,8 @@
<div class="clearfloat"></div>
</div>
<% if topic.authorize_to_edit(user) %>
</div>
<% end %>
<% end %>

View file

@ -0,0 +1,21 @@
development:
min_messages: WARNING
adapter: postgresql
host: 127.0.0.1
port: 5432
encoding: unicode
database: metamap002_development
pool: 5
username: postgres
password: "3112"
production:
min_messages: WARNING
adapter: postgresql
host: ec2-107-21-107-194.compute-1.amazonaws.com
port: 5432
encoding: unicode
database: ddcrn2lgphjk9k
pool: 5
username: qqpckkahytovwv
password: "njeP6cMA8EjM9ukHk9s3ReOdy7"