ouvrages_scaffold 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -71,7 +71,7 @@ class <%= controller_class_name %>Controller < ApplicationController
|
|
71
71
|
@<%= orm_instance.destroy %>
|
72
72
|
|
73
73
|
respond_to do |format|
|
74
|
-
format.html { redirect_to <%= index_helper %>_url }
|
74
|
+
format.html { redirect_to <%= index_helper %>_url, flash: {success: t("<%= plural_table_name %>.removed")} }
|
75
75
|
format.json { head :no_content }
|
76
76
|
end
|
77
77
|
end
|
@@ -38,6 +38,7 @@ en:
|
|
38
38
|
|
39
39
|
created: <%= capitalize_first_letter the_resource %> was successfully created.
|
40
40
|
updated: <%= capitalize_first_letter the_resource %> was successfully updated.
|
41
|
+
removed: <%= capitalize_first_letter the_resource %> was successfully removed.
|
41
42
|
|
42
43
|
navigation:
|
43
44
|
<%= plural_table_name %>: <%= capitalize_first_letter(resources) %>
|
@@ -43,6 +43,7 @@ fr:
|
|
43
43
|
|
44
44
|
created: <%= capitalize_first_letter the_resource %> a été créé.
|
45
45
|
updated: <%= capitalize_first_letter the_resource %> a été <%= gender_select(m: "modifié", f: "modifiée") %>.
|
46
|
+
removed: <%= capitalize_first_letter the_resource %> a été <%= gender_select(m: "supprimé", f: "supprimée") %>.
|
46
47
|
|
47
48
|
navigation:
|
48
49
|
<%= plural_table_name %>: <%= capitalize_first_letter(resources) %>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ouvrages_scaffold
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-07-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bootstrap_forms
|