aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice/lib/action_web_service/scaffolding.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2007-02-21 00:29:44 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2007-02-21 00:29:44 +0000
commit21187c0fb4fc559927a2f947f909dedd85969ffb (patch)
treeefd0ceb5c3a88531916186e97aa106041c293975 /actionwebservice/lib/action_web_service/scaffolding.rb
parentb5419cd66ea160d1ee94f3ca521bb44adf3a21ca (diff)
downloadrails-21187c0fb4fc559927a2f947f909dedd85969ffb.tar.gz
rails-21187c0fb4fc559927a2f947f909dedd85969ffb.tar.bz2
rails-21187c0fb4fc559927a2f947f909dedd85969ffb.zip
Apply the rest of Chads patch
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6180 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice/lib/action_web_service/scaffolding.rb')
-rw-r--r--actionwebservice/lib/action_web_service/scaffolding.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/actionwebservice/lib/action_web_service/scaffolding.rb b/actionwebservice/lib/action_web_service/scaffolding.rb
index e109857727..1ffe4eba77 100644
--- a/actionwebservice/lib/action_web_service/scaffolding.rb
+++ b/actionwebservice/lib/action_web_service/scaffolding.rb
@@ -25,10 +25,10 @@ module ActionWebService
#
# If you want to customize the default views, create the following views in "app/views":
#
- # * <tt>action_name/methods.rhtml</tt>
- # * <tt>action_name/parameters.rhtml</tt>
- # * <tt>action_name/result.rhtml</tt>
- # * <tt>action_name/layout.rhtml</tt>
+ # * <tt>action_name/methods.erb</tt>
+ # * <tt>action_name/parameters.erb</tt>
+ # * <tt>action_name/result.erb</tt>
+ # * <tt>action_name/layout.erb</tt>
#
# Where <tt>action_name</tt> is the name of the action you gave to ClassMethods#web_service_scaffold.
#
@@ -122,7 +122,7 @@ module ActionWebService
end
def scaffold_path(template_name)
- File.dirname(__FILE__) + "/templates/scaffolds/" + template_name + ".rhtml"
+ File.dirname(__FILE__) + "/templates/scaffolds/" + template_name + ".erb"
end
def reset_invocation_response