main_block.rb 246 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 class MainBlock < Block #This method always return true. It means the current block have to display the result of controller action. #It has the same result of put the yield variable on the application layout def main? true end end