summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-12-02 13:30:49 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-12-02 13:30:49 +0000
commit63b09a8d6d8c524a042411d2919026ac72c544ab (patch)
tree6a634868f4aea46c5d0244db63d782e2a5f61f0b /lib
parent2bd5f3ad94dbd7882e4b4e36ad8d4f51ab971b5a (diff)
downloadredmine-63b09a8d6d8c524a042411d2919026ac72c544ab.tar.gz
redmine-63b09a8d6d8c524a042411d2919026ac72c544ab.zip
fix source indent of lib/redmine/access_keys.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20535 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/access_keys.rb19
1 files changed, 11 insertions, 8 deletions
diff --git a/lib/redmine/access_keys.rb b/lib/redmine/access_keys.rb
index 4db9a552b..db66c7d84 100644
--- a/lib/redmine/access_keys.rb
+++ b/lib/redmine/access_keys.rb
@@ -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]