caboose-cms 0.5.76 → 0.5.77

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Y2Y5MGI5YTQ4ZDQ1NDVmODdjOGMyYTk0ZGYwYjU4OTFjZjIxYWEwYw==
4
+ ZTdhMjRiY2Y1YWIyNTc5MTA0ZDIyNGQwNThjMGRiYmExMzZmNmQxNw==
5
5
  data.tar.gz: !binary |-
6
- MTZkY2MxMTQxYThmMTZhZTMwZTljODkyZWNmY2Q3YWNmMWE4MWIzNw==
6
+ MjdkZWJlMDgxNjVkOGIzNjU4NTllNjg3YjFkNDc2M2Y3OWNiNTU0NA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MGY1ZmFlMWFkNmRkODA1NWU2NzY3ZTYzYTAyOGU5ODk5NWFjYmNhMDZlOTg5
10
- ZjY5ZWQ1NmFmZDFjZDI5YjVkZWZkZjk4YzEyNzY5NjVkYzI1OTQwNDJkMWRj
11
- NjBkN2YwYmI5OTM3N2ZiZDVhOWZhNWE0NjQzODQ1ZThhNDdmZmU=
9
+ NGY2OTVhZWM1YWYyMTczN2RiNGYwNWU0NjZhNDQ1Y2VjNjIwMWJkMTNlNmEz
10
+ MmJjZTk0Y2Y4NjQ4ZWExZjBhOGY5Y2YwM2NhNzY2MTgzNmRhZTdkNTM3MDE3
11
+ ZmZiYzNhNWMyMDU5M2U5ZTFkZTBkYThlZDgwMjEzMzZlMDlmM2U=
12
12
  data.tar.gz: !binary |-
13
- MDEyZDY0MTQ5MTM5ZTIyYjgwM2Y2OGU4ZjkzYzMzZTYzYjIxZWVkOGFhYzgx
14
- MzRmZDM1ZGQ2ZTA2ZDZlZjEwZTcwMDE5MWY3NzQ3YTExZTVhNDhlNjMxNTI2
15
- YzIwZDY2M2ExZTVlNjBjZjhkY2QwOWY2MWQ2YjhmMjM5MDY3Y2I=
13
+ YzhjNjg3M2NiOWNkZjBhNGMzMGRhYzJjMGRlNjFhOWZhOWNhN2QwYzk0MTQ1
14
+ YjY1MTlmYjYyZjVlY2IyNzRjMTNjZmJkNDdmMTY3ZjNjOTg0NDk0ZWE5NzMx
15
+ YmQwN2MwMzg5YjRiOWUzNWZmOTMzN2E0N2U1Y2M5Y2E5ODFmY2I=
@@ -243,5 +243,17 @@ module Caboose
243
243
  return false
244
244
  end
245
245
 
246
+ # Standard methods used by model binder
247
+ def admin_index() raise 'This method should be overridden.' end
248
+ def admin_json() raise 'This method should be overridden.' end
249
+ def admin_json_single() raise 'This method should be overridden.' end
250
+ def admin_edit() raise 'This method should be overridden.' end
251
+ def admin_update() raise 'This method should be overridden.' end
252
+ def admin_bulk_update() raise 'This method should be overridden.' end
253
+ def admin_add() raise 'This method should be overridden.' end
254
+ def admin_bulk_add() raise 'This method should be overridden.' end
255
+ def admin_delete() raise 'This method should be overridden.' end
256
+ def admin_bulk_delete() raise 'This method should be overridden.' end
257
+
246
258
  end
247
259
  end
@@ -202,7 +202,7 @@ module Caboose
202
202
  resp.error = "That email is already in the system."
203
203
  else
204
204
  user.save
205
- resp.redirect = "/admin/users/#{user.id}/edit"
205
+ resp.redirect = "/admin/users/#{user.id}"
206
206
  end
207
207
 
208
208
  render :json => resp
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.5.76'
2
+ VERSION = '0.5.77'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.76
4
+ version: 0.5.77
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-22 00:00:00.000000000 Z
11
+ date: 2015-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg