class Lolita::Processors::RequestProcessor::IndexActionProcessor
Public Instance Methods
page()
click to toggle source
# File lib/lolita/processors/request_processor.rb, line 29 def page resource_class.lolita.list.paginate(1) end
respond()
click to toggle source
# File lib/lolita/processors/request_processor.rb, line 23 def respond build_response = resource_class.lolita.list.build(:page => page) scope.instance_variable_set(:"@component_builder",build_response) scope.haml :"lolita/rest/index.html", :layout => :"layouts/lolita/application.html" end