manage 1.3.38 → 1.3.39
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/manage/resource_controller.rb +3 -1
- data/lib/manage/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5167c62d32f9d79841d26e4bcecf39e5f68c6150
|
4
|
+
data.tar.gz: 04d8e5690d4efd38441068c53a7d0379f22a53b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3845c44a4f9383d41587ede41189b984d1a30d269e2cab68d4a103251c494ca3a0c9fccaa52bca424665a8426d6986869a80834634360d62eac0ffb312ea996d
|
7
|
+
data.tar.gz: 3d9778499f7b52af68ff6d388652111ed152663b08ab89abb9b9b56569ec37544d370eb8bb15e45fb05137ede67b8d33ecfc9b9c1991d0809ae85d4a6fc963b7
|
@@ -23,15 +23,17 @@ class Manage::ResourceController < Manage::ApplicationController
|
|
23
23
|
@search.results
|
24
24
|
end
|
25
25
|
|
26
|
-
def
|
26
|
+
def created
|
27
27
|
create!(:notice => "New #{resource_class} created!") do |format|
|
28
28
|
format.html { redirect_to action: :index }
|
29
|
+
failure.html { render :action => :edit and return }
|
29
30
|
end
|
30
31
|
end
|
31
32
|
|
32
33
|
def update
|
33
34
|
update!(:notice => "#{resource_class} updated!") do |format|
|
34
35
|
format.html { redirect_to action: :index }
|
36
|
+
failure.html { render :action => :edit and return }
|
35
37
|
end
|
36
38
|
end
|
37
39
|
|
data/lib/manage/version.rb
CHANGED
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.
|
4
|
+
version: 1.3.39
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Empower United
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-10-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|