File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ defmodule AlgoraWeb.Org.JobsLive do
132
132
< div >
133
133
<%= if @ current_user_role in [ :admin , :mod ] do %>
134
134
< . link
135
- navigate = { ~p" /org/ #{ @ current_org . handle } /jobs/#{ job . id } " }
135
+ navigate = { ~p" /#{ @ current_org . handle } /jobs/#{ job . id } " }
136
136
class = "text-lg sm:text-2xl font-semibold underline "
137
137
>
138
138
{ job . title }
@@ -216,13 +216,13 @@ defmodule AlgoraWeb.Org.JobsLive do
216
216
else
217
217
{ :noreply ,
218
218
redirect ( socket ,
219
- external: Algora.Github . authorize_url ( % { return_to: "/org/ #{ socket . assigns . current_org . handle } /jobs" } )
219
+ external: Algora.Github . authorize_url ( % { return_to: "/#{ socket . assigns . current_org . handle } /jobs" } )
220
220
) }
221
221
end
222
222
else
223
223
{ :noreply ,
224
224
redirect ( socket ,
225
- external: Algora.Github . authorize_url ( % { return_to: "/org/ #{ socket . assigns . current_org . handle } /jobs" } )
225
+ external: Algora.Github . authorize_url ( % { return_to: "/#{ socket . assigns . current_org . handle } /jobs" } )
226
226
) }
227
227
end
228
228
end
You can’t perform that action at this time.
0 commit comments