Moves attributes to a concern.

This commit is contained in:
rogelio-o
2019-01-14 20:26:47 +01:00
parent ea76179002
commit f1bb1ff8de
8 changed files with 14 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
class Admin::MilestonesController < Admin::BaseController
include Translatable
include ImagesHelper
include ImageAttributes
before_action :load_milestoneable, only: [:index, :new, :create, :edit, :update, :destroy]
before_action :load_milestone, only: [:edit, :update, :destroy]