10 Commits

Author SHA1 Message Date
Pfingstfrosch
204597b39d fix rubycop issue:
- don't introduce global variable
 - don't prefix getter with get_
 - single quotes instead of doubles for hash usage
2020-05-31 13:41:50 +02:00
a6a866d357 Hotfix: Add params parsing
When favoriting from `show_basic` for courses, the parameters `number`
and `semester` are not passed to the underlying function. Instead, the
`detail_url` is passed, which has to be parsed to get the `number` and
`semester`.
2020-05-29 10:57:18 +02:00
cbcc7c3d25 Hotfix: parse oid when only one given
The function `show_detail` for courses was expecting an array of
lecturer oids. When it got only one and therefore not an array but an
int, the line `@lecturers_oid.each` would fail to parse the variable
because it is not an array.
2020-05-29 10:43:34 +02:00
311e3d9dcb Finish favorite courses view 2020-05-25 14:57:15 +02:00
dabda63cbc Remove URL parsing
The fields `courseNr` and `semesterCode` are already parsed by the
controller and do not have to be parsed again when calling the
add_to_fav function.
2020-05-23 15:44:39 +02:00
b8cc0d5b61 Implement favoriting of courses 2020-05-21 13:31:54 +02:00
52515549ee Hotfix: change inheritance to reflect new routes 2020-05-21 10:51:51 +02:00
Pfingstfrosch
d34a3d583c refactored crawler controllers and bundled them in crawlers namespace 2020-05-12 19:49:18 +02:00
4f45c768ec Fix mess made by @Pfingstfrosch 2020-04-24 23:02:45 +02:00
Marco Zeisler
670bac90d2 make me work 2020-04-24 17:02:08 +02:00