1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-04 14:49:41 +00:00

fix source indent of lib/redmine/access_keys.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@20535 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2020-12-02 13:30:49 +00:00
parent 2bd5f3ad94
commit 63b09a8d6d

View File

@ -19,14 +19,17 @@
module Redmine
module AccessKeys
ACCESSKEYS = {:edit => 'e',
:preview => 'r',
:quick_search => 'f',
:search => '4',
:new_issue => '7',
:previous => 'p',
:next => 'n'
}.freeze unless const_defined?(:ACCESSKEYS)
unless const_defined?(:ACCESSKEYS)
ACCESSKEYS = {
:edit => 'e',
:preview => 'r',
:quick_search => 'f',
:search => '4',
:new_issue => '7',
:previous => 'p',
:next => 'n'
}.freeze
end
def self.key_for(action)
ACCESSKEYS[action]