manage 1.3.28 → 1.3.29

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: 31f132b5fa02b2150591d7975e7d7d17b7b2dbd3
4
- data.tar.gz: a68db5fb78373b4cc2ef32f94e1b69a29fa4f5ea
3
+ metadata.gz: e868aa26c3cb7e846fb20e48c9840bb5ec5947ad
4
+ data.tar.gz: 4087cadd862279a8bc853534b859a627df713e7e
5
5
  SHA512:
6
- metadata.gz: 9ee8581b45b8cfdad49e52c6fac5fcf1f30e53822780b92947ebb3312e25ef70225d7767dfba95bca53da630d3420fd8dd71eb6ec5a97f570704e268626fd67b
7
- data.tar.gz: 811f37b61eb8bf675af093b7c3f8197dc2c37f436e9adfdb1f92d80eef855a4269ed14b3eec181faa638e10cfc688fb5c99eabda8e4336e642bacf20bb84723a
6
+ metadata.gz: 52232d03eadf51af36541665eeda977197ad85ed1f539f193dc7b3cc1b184d853de765729130296a1adbd12f2f1282daa616d2acc809f48c0561ecb2948f906a
7
+ data.tar.gz: 364f47d116d25cd949e2c0eb65a17279079888df21cf588ffcf60ebec4e33327bb66a88ae54dd3470463160ed386ac60fcc61f7e6523b20360ca7a1aab457ecc
@@ -24,6 +24,18 @@ class Manage::ResourceController < Manage::ApplicationController
24
24
  @search.results
25
25
  end
26
26
 
27
+ def create
28
+ create!(:notice => "New #{resource_class} created!") do |format|
29
+ format.html { redirect_to action: :index }
30
+ end
31
+ end
32
+
33
+ def update
34
+ update!(:notice => "#{resource_class} updated!") do |format|
35
+ format.html { redirect_to action: :index }
36
+ end
37
+ end
38
+
27
39
  def show_help
28
40
  end
29
41
 
@@ -1,3 +1,3 @@
1
1
  module Manage
2
- VERSION = "1.3.28"
2
+ VERSION = "1.3.29"
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.28
4
+ version: 1.3.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Empower United