Module: Redmine::AccessKeys

Defined in:
lib/redmine/access_keys.rb

Constant Summary collapse

ACCESSKEYS =
{
  :edit => 'e',
  :quick_search => 'f',
  :search => '4',
  :new_issue => '7',
  :previous => 'p',
  :next => 'n'
}.freeze

Class Method Summary collapse

Class Method Details

.key_for(action) ⇒ Object



33
34
35
# File 'lib/redmine/access_keys.rb', line 33

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