vendor/plugins/activescaffold/lib/config/core.rb
# the ActiveScaffold-specific template paths
# an instance method. this is the only place that pays attention to per-controller frontend configuration.
# note: for the rails 1.2.x rendering, this needs to be relative to app/views.
the ActiveScaffold-specific template paths
an instance method. this is the only place that pays attention to per-controller frontend configuration.
note: for the rails 1.2.x rendering, this needs to be relative to app/views.
the ActiveScaffold - specific template paths an instance method . this is the only place that pays attention to per - controller frontend configuration . note : for the rails 1 . 2 . x rendering this needs to be relative to app / views .
def template_search_path(frontend = self.frontend)
      frontends_path = "../../vendor/plugins/#{ActiveScaffold::Config::Core.plugin_directory}/frontends"
      search_path = self.inherited_view_paths.clone
      search_path << 'active_scaffold_overrides'
      search_path << "#{frontends_path}/#{frontend}/views" if frontend.to_sym != :default
      search_path << "#{frontends_path}/default/views"
      return search_path
    end
def template_search_path ( frontend = self . frontend ) frontends_path = "../../vendor/plugins/#{ActiveScaffold::Config::Core.plugin_directory}/frontends" search_path = self . inherited_view_paths . clone search_path << 'active_scaffold_overrides' search_path << "#{frontends_path}/#{frontend}/views" if frontend . to_sym != :default search_path << "#{frontends_path}/default/views" return search_path end
the ActiveScaffold-specific template paths
an instance method.
the ActiveScaffold - specific template paths an instance method .
frontend