templus_models 1.6.3 → 1.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4fce44c9b0f1f75da70b4d376aec9a0e4a481c93
4
- data.tar.gz: 4eb0034b3c38a11ecc2a2b3bfc29ad15ff8bd0b7
3
+ metadata.gz: 6719f4fab497f01fb42e07062edf8458700c10dd
4
+ data.tar.gz: 0e4350d21ea8baa7ddc4f78413d34c9951286d13
5
5
  SHA512:
6
- metadata.gz: 4af3f3c02369cb89803de89ab810bc2ef4aa4b7586feb1dc251462689dd9da19f1a2c83d4ec710e9ce7e08fb0d9c51af992000a8aa6d8cd7237c907349299444
7
- data.tar.gz: 9541d251870a4dabeb378598c6d4a08f21d62bc7a44a1bdd1abe5782ef7df579d7a6807ddbaa739fe6653d258bf33a5de44967f01665957c32dbaaf49dccc270
6
+ metadata.gz: 11cd71b326d65e518a3f40ede2e7f57f786145f05b3557b03b46ab28aa7bd7f9ac2b2ba30cba0f6ec56df96cbefccded09415e8e78469108a7b90c22f4d233f5
7
+ data.tar.gz: 95c28d849e57844e92121d73ee9cf3a0e5f6b7314b117341dbebf2417b72d7f9ecf784c4ee9711bf5a7a062e17d3622214d4a799e550618db249159dd82ba78b
@@ -9,7 +9,7 @@ class CrudController < ApplicationController
9
9
  c_helper = Module.const_get(params[:model].camelize).reflect_on_association(params[:associacao]).class_name
10
10
  @crud_helper = Module.const_get("#{c_helper}Crud") unless params[:render] == "modal" and params[:action] == "new"
11
11
  @url = crud_associacao_models_path(model: params[:model], id: params[:id], associacao: params[:associacao], page: params[:page], q: params[:q])
12
- @clean_url = crud_associacao_models(model: params[:model], id: params[:id], associacao: params[:associacao])
12
+ @clean_url = crud_associacao_models_path(model: params[:model], id: params[:id], associacao: params[:associacao])
13
13
  @model_permission = c_helper.constantize
14
14
  @id = params[:associacao_id] if params[:associacao_id]
15
15
  else
@@ -54,6 +54,7 @@ class CrudController < ApplicationController
54
54
  @model = params[:attribute].to_s.camelcase.constantize
55
55
  end
56
56
  @url = crud_models_path(model: @model.name.underscore)
57
+ @clean_url = @url
57
58
  @model_permission = @model
58
59
  @crud_helper = Module.const_get("#{@model}Crud".camelize)
59
60
  end
@@ -1,3 +1,3 @@
1
1
  module TemplusModels
2
- VERSION = "1.6.3"
2
+ VERSION = "1.6.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: templus_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.3
4
+ version: 1.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Sol
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-06-24 00:00:00.000000000 Z
12
+ date: 2016-06-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails