Load map key data in controller
This commit is contained in:
parent
e78aee9585
commit
9ac70151a8
2 changed files with 5 additions and 4 deletions
|
@ -48,6 +48,7 @@ class SiteController < ApplicationController
|
|||
|
||||
def key
|
||||
expires_in 7.days, :public => true
|
||||
@key = YAML.load_file(Rails.root.join("config/key.yml"))
|
||||
render :layout => false
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue