manage 1.3.49 → 1.3.50

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: b230e3baf3f7993ddb3c6aeab1db02aed1667729
4
- data.tar.gz: 61d8dc0a3aa163d82dddf53924e153da46a0d516
3
+ metadata.gz: 9329890e4ce7b8868a3dbbbf89a8ecfb08385404
4
+ data.tar.gz: 7da41b70b6d20aa7cf14d9ea5e23825a4d942426
5
5
  SHA512:
6
- metadata.gz: 0cf071d57b099968568ee469fc6b4ce91ff1d1e7688a6315d71deb78db381048c03a34cdbb6c3de87d1691ab5070abafbce365bf11ae7440c37c55e37c4b1c3e
7
- data.tar.gz: 2eb54086c8e3e55529de634ec4e4b99226ad5387bd55bd9876093cede0bcc68e235fe8ddca1ebc9da037c063957aa37840a442001e4626831b775460f1b3a5b1
6
+ metadata.gz: 20dc7cb5636eea5a7b25c92a1e67d7752b28dc2172353afdbc5fcda8931d813501f8796ca26ce28ed094ba0faff93609f8cbf65bc42d9edb43ad3583e6e8f496
7
+ data.tar.gz: bfd06b11a0d031f3d79eec1a194be62bbd3fc8234cb2efeecf3337336082d9fd012d9f55ed9e2eed57273cc7518097d9b153ec69b06f2da9927f58355af01109
@@ -27,7 +27,7 @@ class Manage::ResourceController < Manage::ApplicationController
27
27
  @search.results
28
28
  end
29
29
 
30
- def create
30
+ def created
31
31
  create!(:notice => "New #{resource_class} created!") do |success, failure|
32
32
  success.html { redirect_to action: :index }
33
33
  failure.html { render :action => :edit and return }
@@ -2,7 +2,7 @@
2
2
  = yield(:index_topbar)
3
3
  - else
4
4
  nav
5
- = link_to t('manage.actions.new', model: resource_class.model_name.human), [:new, resource_class.name.tableize.singularize], class: 'button small secondary'
5
+ = link_to t('manage.actions.new', model: resource_class.model_name.human), [:new, ActiveModel::Naming.singular_route_key(resource_class)], class: 'button small secondary'
6
6
 
7
7
  = render 'index/scopes'
8
8
 
@@ -1,3 +1,3 @@
1
1
  module Manage
2
- VERSION = "1.3.49"
2
+ VERSION = "1.3.50"
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.49
4
+ version: 1.3.50
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: 2015-05-26 00:00:00.000000000 Z
12
+ date: 2015-08-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails