aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/public_body.rb1
-rw-r--r--app/views/admin_public_body/edit.rhtml2
2 files changed, 2 insertions, 1 deletions
diff --git a/app/models/public_body.rb b/app/models/public_body.rb
index 332468fee..31d7fd3cc 100644
--- a/app/models/public_body.rb
+++ b/app/models/public_body.rb
@@ -1,4 +1,5 @@
class PublicBody < ActiveRecord::Base
validates_presence_of :request_email
+ acts_as_versioned
end
diff --git a/app/views/admin_public_body/edit.rhtml b/app/views/admin_public_body/edit.rhtml
index f5c469757..c5323d041 100644
--- a/app/views/admin_public_body/edit.rhtml
+++ b/app/views/admin_public_body/edit.rhtml
@@ -2,7 +2,7 @@
<% form_tag :action => 'update', :id => @public_body do %>
<%= render :partial => 'form' %>
- <%= submit_tag 'Edit' %>
+ <%= submit_tag 'Save' %>
<% end %>
<%= link_to 'Show', :action => 'show', :id => @public_body %> |