manage 1.3.39 → 1.3.40

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5167c62d32f9d79841d26e4bcecf39e5f68c6150
4
- data.tar.gz: 04d8e5690d4efd38441068c53a7d0379f22a53b7
3
+ metadata.gz: 55b0366591464b799f75fb79dd84a6e2b070a43f
4
+ data.tar.gz: 8c1dd88499b03fbdfffef45e1945d7006bede6bf
5
5
  SHA512:
6
- metadata.gz: 3845c44a4f9383d41587ede41189b984d1a30d269e2cab68d4a103251c494ca3a0c9fccaa52bca424665a8426d6986869a80834634360d62eac0ffb312ea996d
7
- data.tar.gz: 3d9778499f7b52af68ff6d388652111ed152663b08ab89abb9b9b56569ec37544d370eb8bb15e45fb05137ede67b8d33ecfc9b9c1991d0809ae85d4a6fc963b7
6
+ metadata.gz: 849e86ad13dcc22403c1e9faddf7e66baa0f99a317807c9b6462edb0c99ae6534f45c0dea32780ead104e5b6727d368810af06c546589e57b2b03ad5513a2548
7
+ data.tar.gz: 28e022d038897e617ea559935687394c001cc726dbdec247561d2bf8a1bb5ad56449bb7d711c60e494c62ae9256809be53286531b946c3726db324d0b1627580
@@ -24,15 +24,15 @@ class Manage::ResourceController < Manage::ApplicationController
24
24
  end
25
25
 
26
26
  def created
27
- create!(:notice => "New #{resource_class} created!") do |format|
28
- format.html { redirect_to action: :index }
27
+ create!(:notice => "New #{resource_class} created!") do |success, failure|
28
+ success.html { redirect_to action: :index }
29
29
  failure.html { render :action => :edit and return }
30
30
  end
31
31
  end
32
32
 
33
33
  def update
34
- update!(:notice => "#{resource_class} updated!") do |format|
35
- format.html { redirect_to action: :index }
34
+ update!(:notice => "#{resource_class} updated!") do |success, failure|
35
+ success.html { redirect_to action: :index }
36
36
  failure.html { render :action => :edit and return }
37
37
  end
38
38
  end
@@ -1,3 +1,3 @@
1
1
  module Manage
2
- VERSION = "1.3.39"
2
+ VERSION = "1.3.40"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manage
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.39
4
+ version: 1.3.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Empower United