enju_resource_merge 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -72,7 +72,7 @@ class PatronMergeListsController < ApplicationController
72
72
  flash[:notice] = t('controller.successfully_updated', :model => t('activerecord.models.patron_merge_list'))
73
73
  end
74
74
  format.html { redirect_to(@patron_merge_list) }
75
- format.json { head :ok }
75
+ format.json { head :no_content }
76
76
  else
77
77
  format.html { render :action => "edit" }
78
78
  format.json { render :json => @patron_merge_list.errors, :status => :unprocessable_entity }
@@ -87,7 +87,7 @@ class PatronMergeListsController < ApplicationController
87
87
 
88
88
  respond_to do |format|
89
89
  format.html { redirect_to(patron_merge_lists_url) }
90
- format.json { head :ok }
90
+ format.json { head :no_content }
91
91
  end
92
92
  end
93
93
  end
@@ -68,7 +68,7 @@ class PatronMergesController < ApplicationController
68
68
  if @patron_merge.update_attributes(params[:patron_merge])
69
69
  flash[:notice] = t('controller.successfully_updated', :model => t('activerecord.models.patron_merge'))
70
70
  format.html { redirect_to(@patron_merge) }
71
- format.json { head :ok }
71
+ format.json { head :no_content }
72
72
  else
73
73
  format.html { render :action => "edit" }
74
74
  format.json { render :json => @patron_merge.errors, :status => :unprocessable_entity }
@@ -83,7 +83,7 @@ class PatronMergesController < ApplicationController
83
83
 
84
84
  respond_to do |format|
85
85
  format.html { redirect_to(patron_merges_url) }
86
- format.json { head :ok }
86
+ format.json { head :no_content }
87
87
  end
88
88
  end
89
89
  end
@@ -72,7 +72,7 @@ class SeriesStatementMergeListsController < ApplicationController
72
72
  flash[:notice] = t('controller.successfully_updated', :model => t('activerecord.models.series_statement_merge_list'))
73
73
  end
74
74
  format.html { redirect_to(@series_statement_merge_list) }
75
- format.json { head :ok }
75
+ format.json { head :no_content }
76
76
  else
77
77
  format.html { render :action => "edit" }
78
78
  format.json { render :json => @series_statement_merge_list.errors, :status => :unprocessable_entity }
@@ -87,7 +87,7 @@ class SeriesStatementMergeListsController < ApplicationController
87
87
 
88
88
  respond_to do |format|
89
89
  format.html { redirect_to(series_statement_merge_lists_url) }
90
- format.json { head :ok }
90
+ format.json { head :no_content }
91
91
  end
92
92
  end
93
93
  end
@@ -70,7 +70,7 @@ class SeriesStatementMergesController < ApplicationController
70
70
  if @series_statement_merge.update_attributes(params[:series_statement_merge])
71
71
  flash[:notice] = t('controller.successfully_updated', :model => t('activerecord.models.series_statement_merge'))
72
72
  format.html { redirect_to(@series_statement_merge) }
73
- format.json { head :ok }
73
+ format.json { head :no_content }
74
74
  else
75
75
  format.html { render :action => "edit" }
76
76
  format.json { render :json => @series_statement_merge.errors, :status => :unprocessable_entity }
@@ -85,7 +85,7 @@ class SeriesStatementMergesController < ApplicationController
85
85
 
86
86
  respond_to do |format|
87
87
  format.html { redirect_to(series_statement_merges_url) }
88
- format.json { head :ok }
88
+ format.json { head :no_content }
89
89
  end
90
90
  end
91
91
  end
@@ -1,3 +1,3 @@
1
1
  module EnjuResourceMerge
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_resource_merge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-08 00:00:00.000000000 Z
12
+ date: 2012-05-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails