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: sections_controller.rb
    path of file: ./repos/linuxfr.org/app/controllers/admin
    
    the code of the file until where you have to start completion: # encoding: UTF-8
class Admin::SectionsController < AdminController
  before_action :find_section, only: [:edit, :update, :destroy]

  def index
    @sections = Section.all
  end

  def new
    @section = Section.new
  end

  def create
    @section = Section.new(params[:section])
    if @section.save
      
    
  def create
    @section = Section.new(params[:section])
    if @section.save
      Board.amr_notification("La section de dépêches #{@section.title} #{admin_sections_url} a été créée par #{current_user.name} #{user_url(current_user)}")
      redirect_to admin_sections_url, notice: 'Nouvelle section créée.'
    else
      flash.now[:alert] = "Impossible d’enregistrer cette section"
      render :new
    end