Sha256: 2acb9b089c5e923dc7f97ba3d43e3e6250b836f19c5ce59f5e00759c10824d45

Contents?: true

Size: 296 Bytes

Versions: 17

Compression:

Stored size: 296 Bytes

Contents

# -*- encoding : utf-8 -*-
class A::BackendController < ApplicationController

	before_filter :authenticate_a_user!

	check_authorization

	def current_ability
	  @current_ability ||= Ability.new(current_user)
	end

	def current_user
		return current_a_user
	end
	helper_method :current_user
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
mdd-3.1.1 lib/generators/mdwa/sandbox/templates/app/controllers/a/backend_controller.rb
mdd-3.1.0 lib/generators/mdwa/sandbox/templates/app/controllers/a/backend_controller.rb
mdd-3.0.20 lib/generators/mdwa/sandbox/templates/app/controllers/a/backend_controller.rb
mdd-3.0.19 lib/generators/mdwa/sandbox/templates/app/controllers/a/backend_controller.rb
mdd-3.0.18 lib/generators/mdwa/sandbox/templates/app/controllers/a/backend_controller.rb
mdd-3.0.17 lib/generators/mdwa/sandbox/templates/app/controllers/a/backend_controller.rb
mdd-3.0.16 lib/generators/mdwa/sandbox/templates/app/controllers/a/backend_controller.rb
mdd-3.0.15 lib/generators/mdwa/sandbox/templates/app/controllers/a/backend_controller.rb
mdd-3.0.14 lib/generators/mdwa/sandbox/templates/app/controllers/a/backend_controller.rb
mdd-3.0.13 lib/generators/mdwa/sandbox/templates/app/controllers/a/backend_controller.rb
mdd-3.0.10 lib/generators/mdwa/sandbox/templates/app/controllers/a/backend_controller.rb
mdd-3.0.9 lib/generators/mdwa/sandbox/templates/app/controllers/a/backend_controller.rb
mdd-3.0.8 lib/generators/mdwa/sandbox/templates/app/controllers/a/backend_controller.rb
mdd-3.0.7 lib/generators/mdwa/sandbox/templates/app/controllers/a/backend_controller.rb
mdd-3.0.6 lib/generators/mdwa/sandbox/templates/app/controllers/a/backend_controller.rb
mdd-3.0.4 lib/generators/mdwa/sandbox/templates/app/controllers/a/backend_controller.rb
mdd-3.0.3 lib/generators/mdwa/sandbox/templates/app/controllers/a/backend_controller.rb