Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-06-28 21:17:29 +0300
committerConnor Shea <connor.james.shea@gmail.com>2016-06-30 00:36:22 +0300
commita99e5cd810b28dda83d3b7809fdf9f0f8031ef7a (patch)
tree53226a0d9aa48e87ffc5d5a4f7f78e9df7b2e17d /app/views/profiles/show.html.haml
parent1ade080ec89eb6be67a03dc82a1002ad7fd9d51c (diff)
Split Cropper.js from the main JavaScript manifest.
Diffstat (limited to 'app/views/profiles/show.html.haml')
-rw-r--r--app/views/profiles/show.html.haml4
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)