Module: ActionPrefixer::ActionPrefixes

Extended by:
ActiveSupport::Concern
Defined in:
lib/action_prefixer.rb

Instance Method Summary collapse

Instance Method Details

#expand_lookup_pathsObject



11
12
13
# File 'lib/action_prefixer.rb', line 11

def expand_lookup_paths
  lookup_context.prefixes = ["#{controller_path}/#{action_name}"] + lookup_context.prefixes
end