def create
      @gallery = Gallery.new(
        name: gallery_params[:name],
        ownable: current_user,
        description: gallery_params[:description]
      )
      authorize! :create, @gallery
      @gallery.save!
    end
def create
      @gallery = Gallery.new(
        name: gallery_params[:name],
        ownable: current_user,
        description: gallery_params[:description]
      )
      authorize! :create, @gallery
      @gallery.save!
    end
POST /galleries