thanks  sebestian
am sorry i mingled up the things...
k here is my code

in layout.php the body section...

<body>
    <?php echo $sf_content ?>
      <center><ul>
                <li><a href="<?php echo url_for('employeerecord') ?>"
class="current">Employee Record</a></li>
            </ul></center>
  </body>


i have create the module employeerecord but i am not able to use it
with url_for or link_to. i already checked adding @ before it. the
routing.yml file is

employeerecord:
  url:   /
  param: {module: employeerecord, action: index}

default_index:
  url:   /:module
  param: { action: index }

default:
  url:   /:module/:action/*

now when i try to access http://localhost/smt/web/employeerecord it
returns the 500 error page with
"Something is broken" message


-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to