Ramaze doesn't expose mixins

70 views Asked by At

Is there a particular reason why Ramaze doesn't expose the inherited index method/action here?

require 'ramaze'

module Foo
    def index
        "Index page"
    end
end

class MainController < Ramaze::Controller
    include Foo
end

Ramaze.start

$ curl localhost:7000/
No action found at: "/"
0

There are 0 answers