You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: controller.rb
    path of file: ./repos/open-build-service/src/api/lib/templates/rails/scaffold_controller
    
    the code of the file until where you have to start completion: <% if namespaced? -%>
require "<%= namespaced_file_path %>/application_controller"

<% end -%>
<% module_namespacing do -%>
# TODO: Please overwrite this comment with something explaining th
    
  def create
    @<%= singular_table_name %> = <%= orm_class.build(class_name, "#{singular_table_name}_params") %>
    authorize @<%= singular_table_name %>
    if @<%= orm_instance.save %>
      redirect_to @<%= singular_table_name %>, notice: <%= "'#{human_name} was successfully created.'" %>
    else
      render :new
    end