Skip to content

Commit

Permalink
Merge pull request #36 from onozaty/develop-2.0.1
Browse files Browse the repository at this point in the history
Development for 2.0.1
  • Loading branch information
onozaty authored Jan 29, 2019
2 parents f4bf47b + 7f980f0 commit 916cd30
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 0 additions & 2 deletions app/controllers/view_customizes_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
class ViewCustomizesController < ApplicationController
unloadable

layout 'admin'

before_action :require_admin
Expand Down
2 changes: 0 additions & 2 deletions app/models/view_customize.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
class ViewCustomize < ActiveRecord::Base
unloadable

belongs_to :author, :class_name => 'User', :foreign_key => 'author_id'

validates_presence_of :path_pattern
Expand Down
8 changes: 8 additions & 0 deletions db/migrate/005_change_code_limit_on_view_customizes.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
class ChangeCodeLimitOnViewCustomizes < ActiveRecord::CompatibleLegacyMigration.migration_class
def up
change_column :view_customizes, :code, :text, :limit => 16.megabytes
end

def down
end
end
2 changes: 1 addition & 1 deletion init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
name 'View Customize plugin'
author 'onozaty'
description 'View Customize plugin for Redmine'
version '2.0.0'
version '2.0.1'
url 'https://github.com/onozaty/redmine-view-customize'
author_url 'https://github.com/onozaty'

Expand Down

0 comments on commit 916cd30

Please sign in to comment.