Skip to content
New issue

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

E1553 Refactoring versions_controller.rb #590

Closed
wants to merge 16 commits into from

Conversation

WintersLt
Copy link

Fixes done:

  • Improved the clarity of code by improving the variable and parameter names.
  • Took the long character strings and give appropriate names
  • Pagination is handled by a separate helper module, which can be used by multiple controllers
  • action_allowed is implemented for access_control, which was missing before and hence everyone was able to access all methods
  • search.html.erb has been modified so that all versions for all users and tables are not displayed when a user views the index page
  • Added missing CRUD methods to VersionsController
  • Added RSPEC testcases for testing changes done in VersionsController

@yangsong8 yangsong8 closed this Dec 29, 2015
@Winbobob Winbobob added this to the CSC517 2015 Fall OSS Projects milestone Oct 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants