We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
メンターのみが使用できるメソッドの一部がメンター用Controllerに定義されていないため集約したい。 また、それに伴い不要な画面などあれば削除する。
以下のメンター用 Controller において、一般の Controller と処理が重複しているメソッドが存在する。 現状、一般の Controller に定義されているメンター用メソッドは、before_action :require_admin_or_mentor_login によりメンターのみが使用できるようになっている。
before_action :require_admin_or_mentor_login
また、処理の重複に伴い、同じ機能を持った画面が存在している。 以下、どちらもメンターのみが閲覧できるコース一覧画面である。作成画面も同様に複数存在している。
機能が同じ & メンター用画面が存在するため、http://localhost:3000/courses の画面は削除したい。
http://localhost:3000/courses
#6210
The text was updated successfully, but these errors were encountered:
このissue|PRは60日間更新がないため7日後にcloseします。closeしたくない場合はstaleラベルを外してください。
Sorry, something went wrong.
おそらく完了しているのでCloseします。
No branches or pull requests
概要
メンターのみが使用できるメソッドの一部がメンター用Controllerに定義されていないため集約したい。
また、それに伴い不要な画面などあれば削除する。
詳細
以下のメンター用 Controller において、一般の Controller と処理が重複しているメソッドが存在する。
現状、一般の Controller に定義されているメンター用メソッドは、
before_action :require_admin_or_mentor_login
によりメンターのみが使用できるようになっている。また、処理の重複に伴い、同じ機能を持った画面が存在している。
以下、どちらもメンターのみが閲覧できるコース一覧画面である。作成画面も同様に複数存在している。
http://localhost:3000/mentor/courses
http://localhost:3000/courses
機能が同じ & メンター用画面が存在するため、
http://localhost:3000/courses
の画面は削除したい。期待される振る舞い
関連Issue
#6210
The text was updated successfully, but these errors were encountered: