Sha256: 34ea962f6cf8410a44fdcd89ddf6c6f4e988bef4156a8082f34e8dde7b254417

Contents?: true

Size: 283 Bytes

Versions: 1

Compression:

Stored size: 283 Bytes

Contents

- case action_name

- when :edit
  - form = js render('form', locals: {form_action: update_profile_path(@user, format: :js)});
  rad.dialog().show('#{form}');

- when :update
  - html = js render('user');
  $('{@user.dom_id}').replaceWith("#{html}");

- else
  - must_be.never_called

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rad_users-0.0.2 app/views/controllers/profiles/actions.js.haml