Show More
@@ -162,7 +162,7 b' class ForksController(BaseRepoController' | |||||
162 | # create fork is done sometimes async on celery, db transaction |
|
162 | # create fork is done sometimes async on celery, db transaction | |
163 | # management is handled there. |
|
163 | # management is handled there. | |
164 | RepoModel().create_fork(form_result, self.rhodecode_user.user_id) |
|
164 | RepoModel().create_fork(form_result, self.rhodecode_user.user_id) | |
165 | fork_url = h.link_to(form_result['repo_name'], |
|
165 | fork_url = h.link_to(form_result['repo_name_full'], | |
166 | h.url('summary_home', repo_name=form_result['repo_name_full'])) |
|
166 | h.url('summary_home', repo_name=form_result['repo_name_full'])) | |
167 |
|
167 | |||
168 | h.flash(h.literal(_('Forked repository %s as %s') \ |
|
168 | h.flash(h.literal(_('Forked repository %s as %s') \ | |
@@ -182,4 +182,4 b' class ForksController(BaseRepoController' | |||||
182 | h.flash(_('An error occurred during repository forking %s') % |
|
182 | h.flash(_('An error occurred during repository forking %s') % | |
183 | repo_name, category='error') |
|
183 | repo_name, category='error') | |
184 |
|
184 | |||
185 | return redirect(url('home')) |
|
185 | return redirect(h.url('summary_home', repo_name=repo_name)) |
General Comments 0
You need to be logged in to leave comments.
Login now