0
0
Fork 0

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:
Gibheer 2013-10-27 13:39:44 +01:00
parent 1e26faa84a
commit 5a65a3dc40
2 changed files with 8 additions and 1 deletions

7
controller/atom.rb Normal file
View File

@ -0,0 +1,7 @@
module Routes
class Atom
def self.call(session)
Post
end
end
end

View File

@ -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