Sha256: b2311cc73cf07e61e0b157161b794c575e337d96ffdc831e5158fbaac114818a

Contents?: true

Size: 189 Bytes

Versions: 5

Compression:

Stored size: 189 Bytes

Contents

class WelcomeController < ApplicationController
	def index
	end

	def other
	end

	def authorized?
		return true if action_name == 'index'
		return false if action_name == 'other'
	end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
action_control-0.3 test/dummy/app/controllers/welcome_controller.rb
action_control-0.2 test/dummy/app/controllers/welcome_controller.rb
action_control-0.1 test/dummy/app/controllers/welcome_controller.rb
action_control-0.0.3 test/dummy/app/controllers/welcome_controller.rb
action_control-0.0.2 test/dummy/app/controllers/welcome_controller.rb