custom-template 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -20,8 +20,6 @@ class <%= controller_class_name %>Controller < ApplicationController
|
|
20
20
|
#-----#
|
21
21
|
def new
|
22
22
|
@<%= singular_table_name %> = <%= orm_class.build( class_name ) %>
|
23
|
-
|
24
|
-
@submit = "create"
|
25
23
|
end
|
26
24
|
|
27
25
|
#------#
|
@@ -29,8 +27,6 @@ class <%= controller_class_name %>Controller < ApplicationController
|
|
29
27
|
#------#
|
30
28
|
def edit
|
31
29
|
@<%= singular_table_name %> = <%= "#{class_name}.where( id: params[:id], user_id: session[:user_id] ).first" %>
|
32
|
-
|
33
|
-
@submit = "update"
|
34
30
|
end
|
35
31
|
|
36
32
|
#--------#
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: custom-template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
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: 2012-07-
|
12
|
+
date: 2012-07-10 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Custom Template for Scaffold.
|
15
15
|
email:
|