Sha256: 0ad5cae8de95464661d907f3bcce6c3706cfa96cbce47d55df0fd34a6e89dd08

Contents?: true

Size: 291 Bytes

Versions: 3

Compression:

Stored size: 291 Bytes

Contents

class Admin::ConfigurablesController < ApplicationController
  # include the engine controller actions
  include ConfigurableEngine::ConfigurablesController

  # add your own filter(s) / layout
  before_filter :protect_my_code
  def protect_my_code
 	  authorize! :read_admin, User
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gorg_engine-1.2.4 app/controllers/admin/configurables_controller.rb
gorg_engine-1.2.3 app/controllers/admin/configurables_controller.rb
gorg_engine-1.2.0 app/controllers/admin/configurables_controller.rb