lib/pakyow/presenter/framework.rb in pakyow-presenter-1.0.0.rc5 vs lib/pakyow/presenter/framework.rb in pakyow-presenter-1.0.0

- old
+ new

@@ -3,20 +3,20 @@ require "pakyow/framework" require "pakyow/support/indifferentize" require "pakyow/support/core_refinements/string/normalization" -require "pakyow/presenter/behavior/config" -require "pakyow/presenter/behavior/error_rendering" -require "pakyow/presenter/behavior/exposures" -require "pakyow/presenter/behavior/implicit_rendering" -require "pakyow/presenter/behavior/initializing" -require "pakyow/presenter/behavior/modes" -require "pakyow/presenter/behavior/versions" -require "pakyow/presenter/behavior/watching" +require "pakyow/application/config/presenter" +require "pakyow/application/behavior/presenter/error_rendering" +require "pakyow/application/behavior/presenter/exposures" +require "pakyow/application/behavior/presenter/implicit_rendering" +require "pakyow/application/behavior/presenter/initializing" +require "pakyow/application/behavior/presenter/modes" +require "pakyow/application/behavior/presenter/versions" +require "pakyow/application/behavior/presenter/watching" -require "pakyow/presenter/helpers/rendering" +require "pakyow/application/helpers/presenter/rendering" require "pakyow/presenter/renderable" require "pakyow/presenter/renderer" require "pakyow/presenter/renderer/behavior/cleanup_prototype_nodes" @@ -81,18 +81,18 @@ aspect :binders aspect :components aspect :presenters - register_helper :active, Helpers::Rendering + register_helper :active, Application::Helpers::Presenter::Rendering isolated :Connection do include Renderable end isolated :Controller do - include Behavior::ImplicitRendering + include Application::Behavior::Presenter::ImplicitRendering action :verify_form_metadata do if metadata = params[:"pw-form"] connection.set( :__form, @@ -144,16 +144,16 @@ app_version.update(config.version) app_version.update(config.presenter.version) config.version = app_version.to_s end - include Behavior::Config - include Behavior::ErrorRendering - include Behavior::Exposures - include Behavior::Initializing - include Behavior::Modes - include Behavior::Versions - include Behavior::Watching + include Application::Config::Presenter + include Application::Behavior::Presenter::ErrorRendering + include Application::Behavior::Presenter::Exposures + include Application::Behavior::Presenter::Initializing + include Application::Behavior::Presenter::Modes + include Application::Behavior::Presenter::Versions + include Application::Behavior::Presenter::Watching def view_info_for_path(path) path = String.collapse_path(path) state(:templates).lazy.map { |store|