diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-06-28 12:17:29 -0600 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-06-29 15:36:22 -0600 |
commit | a99e5cd810b28dda83d3b7809fdf9f0f8031ef7a (patch) | |
tree | 53226a0d9aa48e87ffc5d5a4f7f78e9df7b2e17d /app/views/profiles | |
parent | 1ade080ec89eb6be67a03dc82a1002ad7fd9d51c (diff) | |
download | gitlab-ce-a99e5cd810b28dda83d3b7809fdf9f0f8031ef7a.tar.gz |
Split Cropper.js from the main JavaScript manifest.
Diffstat (limited to 'app/views/profiles')
-rw-r--r-- | app/views/profiles/show.html.haml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/profiles/show.html.haml b/app/views/profiles/show.html.haml index eef50d887c7..e8a70cfd84b 100644 --- a/app/views/profiles/show.html.haml +++ b/app/views/profiles/show.html.haml @@ -1,3 +1,7 @@ +- content_for :page_specific_javascripts do + = page_specific_javascript_tag('lib/cropper.js') + = page_specific_javascript_tag('profile/application.js') + = form_for @user, url: profile_path, method: :put, html: { multipart: true, class: "edit-user prepend-top-default" }, authenticity_token: true do |f| = form_errors(@user) |