Actualizar plugin Questions a 1.0.2 light
This commit is contained in:
parent
b9e569d03f
commit
b37d1305f1
64 changed files with 394 additions and 229 deletions
|
@ -1,7 +1,7 @@
|
|||
# This file is a part of Redmine Q&A (redmine_questions) plugin,
|
||||
# Q&A plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2018 RedmineUP
|
||||
# Copyright (C) 2011-2020 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_questions is free software: you can redistribute it and/or modify
|
||||
|
@ -58,6 +58,7 @@ class QuestionsSectionsController < ApplicationController
|
|||
|
||||
def update
|
||||
@section.safe_attributes = params[:questions_section]
|
||||
@section.insert_at(@section.position) if @section.position_changed?
|
||||
if @section.save
|
||||
respond_to do |format|
|
||||
format.html do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue