trestle_generator 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/trestle_generator.rb +5 -2
- metadata +2 -2
data/trestle_generator.rb
CHANGED
@@ -114,8 +114,11 @@ class TrestleGenerator < Rails::Generator::NamedBase
|
|
114
114
|
"#{controller_file_name}_helper.rb")
|
115
115
|
|
116
116
|
# Layout and stylesheet.
|
117
|
-
m.template 'layout.rhtml',
|
118
|
-
|
117
|
+
m.template 'layout.rhtml',
|
118
|
+
File.join('app/views/layouts',
|
119
|
+
controller_class_path,
|
120
|
+
"#{controller_file_name}.rhtml")
|
121
|
+
m.template 'style.css', 'public/stylesheets/trestle.css'
|
119
122
|
|
120
123
|
|
121
124
|
# Non-trestle views.
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
|
|
3
3
|
specification_version: 1
|
4
4
|
name: trestle_generator
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.1.
|
7
|
-
date: 2006-
|
6
|
+
version: 1.1.6
|
7
|
+
date: 2006-06-26 00:00:00 -05:00
|
8
8
|
summary: "[Rails] A drop-in replacement for the scaffold generator that produces production-ready controllers that are safe from state-changing HTTP GET requests and that have streamlined URLs."
|
9
9
|
require_paths:
|
10
10
|
- templates
|