Sha256: 6d88e7733a2c637ffcfa795f9b6cc0cb54ca538f499d3a45b04fcaba650053c0

Contents?: true

Size: 346 Bytes

Versions: 1

Compression:

Stored size: 346 Bytes

Contents

module Optimacms
  class Admin::AdminBaseController < ApplicationController
    layout 'optimacms/admin/layouts/main'

    add_flash_types :success

    helper ApplicationHelper
    helper FormsHelper


    #### modal

    def set_layout_modal
      if @modal==1
        self.class.layout false
      end

    end


  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
optimacms-0.1.1 app/controllers/optimacms/admin/admin_base_controller.rb