Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Problem with admin generator additiona action and sfPropelORMRouteCollection (with corrected pull) #161

Merged
merged 4 commits into from Oct 4, 2012

Conversation

Projects
None yet
2 participants
Contributor

ldath commented Sep 21, 2012

For example I have this kind of generator.yml file:

generator:
  class: sfPropelGenerator
  param:

...

    with_propel_route:     1

    config:
      list:
      ...
        actions:
          _new: ~
          return: { label: Return }

I have created rout for it with set to true with_wildcard_routes:

'with_wildcard_routes' => true

But with_wildcard_routes not only means [prefix_path]>/batch/action but can be any action [prefix_path]/:action/action - where action can be anything in my example there is a link (GET method):

<a href="[prefix_path]/ListReturn/action">Return</a>. 

If sf_method is set to POST really, really lots of the WTF IS THIS SHIT can be.

ldath added some commits Sep 21, 2012

with_wildcard_routes not only means <prefix_path>/batch/action but <p…
…refix_path>/:action/action where action can be anything and in Symfony in most of cases when admin generator is used thare is a link (GET method) like for example <a href="<prefix_path>/ListReturn/action">Return</a>. If sf_method is set to POST realy realy lots of the WTF IS THIS SHIT can be.

willdurand added a commit that referenced this pull request Oct 4, 2012

Merge pull request #161 from thunderwolf/master
Problem with admin generator additiona action and sfPropelORMRouteCollection (with corrected pull)

@willdurand willdurand merged commit 686237b into propelorm:master Oct 4, 2012

1 check passed

default The Travis build passed
Details
Owner

willdurand commented Oct 4, 2012

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment