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',
 :previous => 'p',
 :next => 'n'
}.freeze

Class Method Summary collapse

Class Method Details

.key_for(action) ⇒ Object



29
30
31
# File 'lib/redmine/access_keys.rb', line 29

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