issues
search
devukurup
/
quizzy-by-devukurup
0
stars
0
forks
source link
Made changes based on PR reviews.
#60
Closed
devukurup
closed
2 years ago
devukurup
commented
2 years ago
Fixes #58 .
Changed created_quizzes association name to quizzes.
Added a Null : false constraint to user_id in quiz modell.
Added pundit for authorization.
Added load_quiz method in quizzes_controller.
removed param: :id from routes.rb .
Changed the quiz association name in user.rb model .
Used RESTful routing convention in frontend paths.
For in-app navigation, used Link from react-router-dom.
Used
to
prop in NeetoUI buttons for in-app navigation.
Removed api for logout, instead just clear the local storage.
Rendered delete and edit buttons through props in react table.
Fixes #58 .
to
prop in NeetoUI buttons for in-app navigation.