Extract block to helper function

This commit is contained in:
Maciej Szlosarczyk 2018-04-24 13:19:11 +03:00
parent b0bec41f56
commit a93228c579
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
4 changed files with 14 additions and 8 deletions

View file

@ -1,5 +1,7 @@
module Admin
class ContactVersionsController < BaseController
include ObjectVersionsHelper
load_and_authorize_resource
def index