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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd688b6dce78570265773c88128dccb2d8fc18fa
4
- data.tar.gz: 1b428a7aa23f3c77ffd6b66e7330b75011e0775c
3
+ metadata.gz: 5167c62d32f9d79841d26e4bcecf39e5f68c6150
4
+ data.tar.gz: 04d8e5690d4efd38441068c53a7d0379f22a53b7
5
5
  SHA512:
6
- metadata.gz: 405fcf81a985cee671a0afa8a511b2c07af09ba6269c464d8dead3e39eb9b55fffb433816354f4482ebadc9446502338811466660721095580c9315dd2a4681b
7
- data.tar.gz: 391f1bb8552636ed0a5e982b3471f07fd379f0156fbd82b3f6f488181d693b590d1308ec3b2f2e0f02e1a2dbf6cdb6675de32e5b4fdb034cac6ef60c6e74f4c5
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 create
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
 
@@ -1,3 +1,3 @@
1
1
  module Manage
2
- VERSION = "1.3.38"
2
+ VERSION = "1.3.39"
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.38
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-09-25 00:00:00.000000000 Z
12
+ date: 2014-10-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails