lib/generators/rails/templates/api_controller.rb in jbuilder-2.10.0 vs lib/generators/rails/templates/api_controller.rb in jbuilder-2.10.1

- old
+ new

@@ -1,6 +1,6 @@ <% if namespaced? -%> -require_dependency "<%= namespaced_file_path %>/application_controller" +require_dependency "<%= namespaced_path %>/application_controller" <% end -%> <% module_namespacing do -%> class <%= controller_class_name %>Controller < ApplicationController before_action :set_<%= singular_table_name %>, only: [:show, :update, :destroy]