lib/rails/generators/rails/scaffold_controller/templates/controller.rb in railties-3.2.3 vs lib/rails/generators/rails/scaffold_controller/templates/controller.rb in railties-3.2.4.rc1

- old
+ new

@@ -1,4 +1,8 @@ +<% if namespaced? -%> +require_dependency "<%= namespaced_file_path %>/application_controller" +<% end -%> + <% module_namespacing do -%> class <%= controller_class_name %>Controller < ApplicationController # GET <%= route_url %> # GET <%= route_url %>.json def index