0
0
Fork 0

Improved admin UI

This commit is contained in:
Eugen Rochko 2016-12-13 13:42:10 +01:00
parent 668013265c
commit 76ec907993
23 changed files with 259 additions and 49 deletions

View file

@ -0,0 +1,14 @@
# frozen_string_literal: true
class Admin::DomainBlocksController < ApplicationController
before_action :require_admin!
layout 'admin'
def index
@blocks = DomainBlock.paginate(page: params[:page], per_page: 40)
end
def create
end
end