Method: Controller#identity
- Defined in:
- lib/wiki/server.rb
#identity ⇒ Object
61 62 63 64 65 66 |
# File 'lib/wiki/server.rb', line 61 def identity default_path = File.join APP_ROOT, "default-data", "status", "local-identity" real_path = File.join farm_status, "local-identity" id_data = Store.get_hash real_path id_data ||= Store.put_hash(real_path, FileStore.get_hash(default_path)) end |