trestle_generator 1.0.1 → 1.0.2
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.
- 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."
|