Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !1477

Merged
Created Sep 16, 2012 by Administrator@rootOwner

Routing specs and cleanup

  • Overview 6
  • Commits 12
  • Changes 25

Created by: rspeicher

First, this adds routing specs. Why? Because I was going to modify the routes and wanted to make sure the current ones still worked after my changes.

Then I made a few changes:

  • Adds an AdminController base controller for the other Admin controllers to subclass. It currently handles setting the layout and authorizing an admin and just removes some duplication from those controllers.
  • Style changes in routes.rb, mostly 1.9 Hash syntax and alignment and spacing.
  • Removes a few actions that are no longer used from various controllers.
  • Removes unused actions from various routes ("logs" had all the default actions but only used "show", for instance.)
  • Removes the 'team' action from the Projects controller and instead uses the 'index' action in TeamMembers.
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/rspeicher/route_specs