gitlab-org--gitlab-foss/app/views
Stan Hu f1a241e0ed Fix broken code import and display error messages if something went wrong with creating project
Clicking "Import" in Bitbucket import status page would result in:

```
  Rendered import/base/create.js.haml (38.3ms)
Completed 500 Internal Server Error in 1362ms (ActiveRecord: 20.2ms)

NoMethodError - undefined method `namespace_projects_path' for #<#<Class:0x007fd6c0f29498>:0x007fd6c0cf09d8>:
  actionpack (4.1.11) lib/action_dispatch/routing/polymorphic_routes.rb:142:in `polymorphic_url'
  actionpack (4.1.11) lib/action_dispatch/routing/polymorphic_routes.rb:148:in `polymorphic_path'
  actionview (4.1.11) lib/action_view/routing_url_for.rb:87:in `url_for'
  turbolinks (2.5.3) lib/turbolinks/xhr_url_for.rb:12:in `url_for_with_xhr_referer'
  actionview (4.1.11) lib/action_view/helpers/url_helper.rb:181:in `link_to'
  app/views/import/base/create.js.haml:23:in `_app_views_import_base_create_js_haml__1092746368522631377_70280180507700'
  actionview (4.1.11) lib/action_view/template.rb:145:in `block in render'
  activesupport (4.1.11) lib/active_support/notifications.rb:161:in `instrument'
  actionview (4.1.11) lib/action_view/template.rb:339:in `instrument'
  actionview (4.1.11) lib/action_view/template.rb:143:in `render'
  rack-mini-profiler (0.9.0) lib/mini_profiler/profiling_methods.rb:108:in `block in profile_method'
  actionview (4.1.11) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
  actionview (4.1.11) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
  activesupport (4.1.11) lib/active_support/notifications.rb:159:in `block in instrument'
  activesupport (4.1.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  activesupport (4.1.11) lib/active_support/notifications.rb:159:in `instrument'
```

Closes #2241
2015-08-10 23:56:01 -07:00
..
abuse_reports Improve abuse report wording 2015-08-08 19:46:34 +02:00
admin Remove selectbox from abuse form. Added pagination in admin area 2015-08-06 15:13:47 +02:00
dashboard Restore Leave button on dashboard groups page 2015-07-29 12:15:21 +02:00
devise Added tags to disable autocapitalize and autocorrect on login field 2015-07-29 15:42:52 +08:00
doorkeeper Correctly show anonymous authorized applications under Profile > Applications. 2015-07-02 11:53:31 +02:00
errors Add a page title to every page. 2015-04-30 19:12:15 +02:00
events Fix event cache 2015-08-10 12:31:34 +02:00
explore Apply markdown filter for project descriptions on explore view 2015-08-05 21:26:49 +02:00
groups Add specific ability for managing group members 2015-07-28 16:32:15 +02:00
help Add shortcut for project activity page 2015-07-08 12:43:46 +02:00
import Fix broken code import and display error messages if something went wrong with creating project 2015-08-10 23:56:01 -07:00
invites Add a page title to every page. 2015-04-30 19:12:15 +02:00
kaminari/gitlab
layouts Merge branch 'cache-events' into 'master' 2015-08-09 02:03:46 +00:00
notify Use entity number for plus sign 2015-05-27 13:04:18 +00:00
profiles ink to configured gravatar host on profile page 2015-08-05 00:48:16 -07:00
projects More textual tweaks 2015-08-09 17:46:25 +02:00
search Fix search blobs for wiki 2015-07-12 14:01:06 +02:00
shared Improve MR merge widget text and UI consistency. 2015-08-08 21:24:43 +02:00
snippets Rename abilities to correspond contoller/model action names 2015-06-26 15:55:56 +02:00
users Allow users to send abuse reports 2015-08-06 14:03:27 +02:00
votes