Rails Controller Integration

Pages are used as Rails view substitutes and therefore called in a Rails controller action:

app/controllers/some:controller.rb
class SomeController < ApplicationController

  include Matestack::Ui::Core::Helper

  def overview
    render Pages::SomePage
  end

end

Last updated