Skip to content

Commit 916cd30

Browse files
authored
Merge pull request #36 from onozaty/develop-2.0.1
Development for 2.0.1
2 parents f4bf47b + 7f980f0 commit 916cd30

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

app/controllers/view_customizes_controller.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
class ViewCustomizesController < ApplicationController
2-
unloadable
3-
42
layout 'admin'
53

64
before_action :require_admin

app/models/view_customize.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
class ViewCustomize < ActiveRecord::Base
2-
unloadable
3-
42
belongs_to :author, :class_name => 'User', :foreign_key => 'author_id'
53

64
validates_presence_of :path_pattern
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
class ChangeCodeLimitOnViewCustomizes < ActiveRecord::CompatibleLegacyMigration.migration_class
2+
def up
3+
change_column :view_customizes, :code, :text, :limit => 16.megabytes
4+
end
5+
6+
def down
7+
end
8+
end

init.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
name 'View Customize plugin'
66
author 'onozaty'
77
description 'View Customize plugin for Redmine'
8-
version '2.0.0'
8+
version '2.0.1'
99
url 'https://github.com/onozaty/redmine-view-customize'
1010
author_url 'https://github.com/onozaty'
1111

0 commit comments

Comments
 (0)