correct route for drupal nodes
parent
949aae1c02
commit
56faf0d1c0
|
@ -1,6 +1,10 @@
|
|||
Merb.logger.info("Compiling routes...")
|
||||
Merb::Router.prepare do |r|
|
||||
r.match('/node/(node/)?:id').to(
|
||||
r.match('/node/node/:id').to(
|
||||
:controller => 'node',
|
||||
:action => 'show'
|
||||
)
|
||||
r.match('/node/:id').to(
|
||||
:controller => 'node',
|
||||
:action => 'show'
|
||||
)
|
||||
|
|
Reference in New Issue