Skip to content

Commit 1c68010

Browse files
authored
Merge pull request #34 from ishikawa999/master
Remove unnecessary "unloadable" method
2 parents f14a959 + b2f6bc4 commit 1c68010

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
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

0 commit comments

Comments
 (0)