reroute atom controller to post
This is not really good, but okay for the moment until the template is extracted into its own namespace.
This commit is contained in:
parent
1e26faa84a
commit
5a65a3dc40
|
@ -0,0 +1,7 @@
|
|||
module Routes
|
||||
class Atom
|
||||
def self.call(session)
|
||||
Post
|
||||
end
|
||||
end
|
||||
end
|
|
@ -6,7 +6,7 @@ class Router
|
|||
puts variables.inspect
|
||||
return default_route unless variables && variables[:controller]
|
||||
session.options[:id] = variables[:id]
|
||||
find variables[:controller]
|
||||
find(variables[:controller])
|
||||
end
|
||||
|
||||
# the namespace of all routes
|
||||
|
|
Loading…
Reference in New Issue