Sha256: b50cac8e7f5f688c475bf7d1db05226c9a432e7dfb33e0734827f775c771bf34
Contents?: true
Size: 313 Bytes
Versions: 17
Compression:
Stored size: 313 Bytes
Contents
# coding: utf-8 class Redditor::Admin::BaseController < ActionController::Base layout false before_filter :get_page private def get_page @page = Redditor::Page.find(params[:page_id] || params[:id]) end def content_block_params params.require(:content_block).permit! end end
Version data entries
17 entries across 17 versions & 1 rubygems