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