Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.svn
.idea
1 change: 1 addition & 0 deletions app/models/project_email.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
class ProjectEmail < ActiveRecord::Base
attr_accessible :email, :project_id
belongs_to :project

validates_presence_of :email, :project_id
Expand Down
2 changes: 1 addition & 1 deletion app/views/project_emails/_edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<%= submit_tag l(:button_update) %>
<% end %>

<% if @project.project_email %>
<% if @project.project %>
<div class="contextual">
<%= link_to l(:button_reset), project_outbound_email_path(@project),
:method => :delete, :confirm => l(:text_are_you_sure),
Expand Down