app/controllers/adminpanel/sections_controller.rb in adminpanel-2.0.0 vs app/controllers/adminpanel/sections_controller.rb in adminpanel-2.0.1
- old
+ new
@@ -26,10 +26,10 @@
def update
@section = Section.find(params[:id])
if @section.update_attributes(params[:section])
- redirect_to section_path(@section), :notice => "La seccion se ha actualizado"
+ redirect_to section_path(@section), :notice => 'La seccion se ha actualizado'
else
render 'edit'
end
end