exercises-stdlib icon indicating copy to clipboard operation
exercises-stdlib copied to clipboard

Edit page links doesnt work

Open xhudik opened this issue 4 years ago • 2 comments

Very page(e.g. https://www.scala-exercises.org/std_lib/partial_functions ) at the bottom has Edit Exercisepage link: image

This link doenst work:

#it points to
https://github.com/scala-exercises/exercises-stdlib/edit/master/src/main/scala/stdlib/PatternMatching.scala
#it should points to instead
https://github.com/scala-exercises/exercises-stdlib/edit/main/src/main/scala/stdlib/PatternMatching.scala

(replace main with master)

I'd create a pull request just didnt find where the link actually is located :)

xhudik avatar May 13 '21 16:05 xhudik

Thanks @xhudik , I guess we need to update the server side

juanpedromoreno avatar May 13 '21 19:05 juanpedromoreno

It's seems the fix doesn't work, for example access an exercise: https://www.scala-exercises.org/std_lib/type_signatures The button Edit exercises send to: https://github.com/scala-exercises/exercises-stdlib/edit/master/src/main/scala/stdlib/TypeSignatures.scala

But the button View on Github works, but i don't know how because when I hover the button it send it to the master branch: image

but when I click, send me here: https://github.com/scala-exercises/exercises-stdlib/blob/main/src/main/scala/stdlib/TypeSignatures.scala

corentinmb avatar Nov 26 '21 14:11 corentinmb