Sha256: b0dd5abfda0ae633e8f3d460795f493faf1fef12ef788444d5c59c460205a351

Contents?: true

Size: 349 Bytes

Versions: 5

Compression:

Stored size: 349 Bytes

Contents

# frozen_string_literal: true

module Phlex::Rails::Helpers::ActionName
	extend Phlex::Rails::HelperMacros

	# @!method action_name
	# 	@return [String] the name of the controller action, e.g. <code>"index"</code>
	# 	@see https://api.rubyonrails.org/classes/AbstractController/Base.html#method-i-action_name
	register_value_helper :action_name
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
phlex-rails-1.2.2 lib/phlex/rails/helpers/action_name.rb
phlex-rails-2.0.0.beta2 lib/phlex/rails/helpers/action_name.rb
phlex-rails-2.0.0.beta1 lib/phlex/rails/helpers/action_name.rb
phlex-rails-1.2.1 lib/phlex/rails/helpers/action_name.rb
phlex-rails-1.2.0 lib/phlex/rails/helpers/action_name.rb