module Prosperity

Constants

VERSION

Public Class Methods

inline_main_app_routes!() click to toggle source
# File lib/prosperity.rb, line 20
def inline_main_app_routes!
  ::Prosperity::ApplicationController.helper ::Prosperity::MainAppRouteDelegator
end
layout=(layout) click to toggle source
# File lib/prosperity.rb, line 12
def layout=(layout)
  self.parent_layout = layout
  if layout && layout !~ %r(^prosperity/)
    # inline application routes if using an app layout
    inline_main_app_routes!
  end
end