trestle_generator 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/templates/controller.rb +1 -1
- metadata +2 -2
data/templates/controller.rb
CHANGED
@@ -15,7 +15,7 @@ class <%= controller_class_name %>Controller < ApplicationController
|
|
15
15
|
flash[:notice] = 'The <%= singular_name %> was successfully destroyed.'
|
16
16
|
redirect_to :action => '<%= suffix || 'index' %>'
|
17
17
|
else
|
18
|
-
flash[:notice] = 'Click Destroy to destroy the <%=
|
18
|
+
flash[:notice] = 'Click Destroy to destroy the <%= singular_name %>.'
|
19
19
|
redirect_to :action => 'edit<%= suffix %>', :id => params[:id]
|
20
20
|
end
|
21
21
|
end
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.10
|
|
3
3
|
specification_version: 1
|
4
4
|
name: trestle_generator
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.0.
|
7
|
-
date: 2006-01-
|
6
|
+
version: 1.0.2
|
7
|
+
date: 2006-01-27
|
8
8
|
summary: "[Rails] A drop-in replacement for the scaffold generator that produces
|
9
9
|
production-ready controllers that are safe from state-changing HTTP GET requests
|
10
10
|
and that have streamlined URLs."
|