Skip to content

Commit 13cc455

Browse files
committed
Fix not working with Redmine 2.6
1 parent bf320a9 commit 13cc455

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/controllers/view_customizes_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class ViewCustomizesController < ApplicationController
1212
def index
1313
sort_init 'id', 'desc'
1414
sort_update %w(id path_pattern insertion_position customize_type code comments is_enabled is_private)
15-
@view_customizes = ViewCustomize.all.order(sort_clause)
15+
@view_customizes = ViewCustomize.order(sort_clause)
1616
end
1717

1818
def new

init.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
name 'View Customize plugin'
55
author 'onozaty'
66
description 'View Customize plugin for Redmine'
7-
version '1.2.1'
7+
version '1.2.2'
88
url 'https://github.com/onozaty/redmine-view-customize'
99
author_url 'https://github.com/onozaty'
1010

0 commit comments

Comments
 (0)