Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Namespace generated controller view.
  • Loading branch information
josevalim committed Jan 25, 2012
1 parent 9edca48 commit 1a419fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/generators/rails/templates/controller.rb
@@ -1,3 +1,4 @@
<% module_namespacing do -%>
class <%= controller_class_name %>Controller < ApplicationController
<% unless options[:singleton] -%>
# GET /<%= table_name %>
Expand Down Expand Up @@ -51,3 +52,4 @@ def destroy
respond_with(@<%= file_name %>)
end
end
<% end -%>

0 comments on commit 1a419fc

Please sign in to comment.