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 +4 -4
- data/app/controllers/manage/resource_controller.rb +12 -0
- data/lib/manage/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e868aa26c3cb7e846fb20e48c9840bb5ec5947ad
|
4
|
+
data.tar.gz: 4087cadd862279a8bc853534b859a627df713e7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
data/lib/manage/version.rb
CHANGED