Module: Redmine::AccessKeys

Defined in:
lib/redmine/access_keys.rb

Constant Summary

ACCESSKEYS =
{:edit => 'e',
 :preview => 'r',
 :quick_search => 'f',
 :search => '4',
 :new_issue => '7'
}.freeze

Class Method Summary collapse

Class Method Details

.key_for(action) ⇒ Object



27
28
29
# File 'lib/redmine/access_keys.rb', line 27

def self.key_for(action)
  ACCESSKEYS[action]
end