Sha256: 08b140bb3d32d28b2182fb0c80241cb6d6d54c80cf8a8d7e628bf90269491c46
Contents?: true
Size: 342 Bytes
Versions: 59
Compression:
Stored size: 342 Bytes
Contents
module Auth::Users::ProfilesHelper ##@used_in: views/users/profiles/_user_data.html.erb ##@resource[Object]: a Devise resource ##@returns[Hash]: a hash with key: resource, value -> jsonified representation of whatever data you want to store for that resource def user_data(resource) {resource: {:id => resource.id.to_s}} end end
Version data entries
59 entries across 59 versions & 1 rubygems