Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Commit

Permalink
remove unneeded hardcoded route name from admin
Browse files Browse the repository at this point in the history
| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

These assignments are no longer needed. If we have them, an admin extending this class must overwrite the fields.
  • Loading branch information
chrootlogin committed Oct 4, 2013
1 parent fb0a805 commit 9261cbb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Admin/StaticContentAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@

class StaticContentAdmin extends Admin
{
protected $baseRouteName = 'cmf_content_staticcontent';
protected $baseRoutePattern = '/cmf/content/staticcontent';
protected $translationDomain = 'CmfContentBundle';

public function getNewInstance()
Expand Down

0 comments on commit 9261cbb

Please sign in to comment.