Module: Redmine::AccessKeys

Defined in:
lib/redmine/access_keys.rb

Overview

Since:

  • 0.7.0

Constant Summary collapse

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