lib/active_scaffold/helpers/view_helpers.rb
# This is the template finder logic, keep it updated with however we find stuff in rails
# currently this very similar to the logic in ActionBase::Base.render for options file
This is the template finder logic, keep it updated with however we find stuff in rails
currently this very similar to the logic in ActionBase::Base.render for options file
This is the template finder logic keep it updated with however we find stuff in rails currently this very similar to the logic in ActionBase :: Base . render for options file
def template_exists?(template_name, partial = false)
        if @_view_paths
          restore_view_paths = lookup_context.view_paths
          lookup_context.view_paths = @_view_paths
        end
        (@_lookup_context || lookup_context).exists?(template_name, '', partial).tap do
          lookup_context.view_paths = restore_view_paths if @_view_paths
        end
      end
def template_exists? ( template_name , partial = false ) if @_view_paths restore_view_paths = lookup_context . view_paths lookup_context . view_paths = @_view_paths end ( @_lookup_context || lookup_context ) . exists? ( template_name , '' , partial ) . tap do lookup_context . view_paths = restore_view_paths if @_view_paths end end
This is the template finder logic, keep it updated with however we find stuff in rails
currently this very similar to the logic in ActionBase::Base.render for options file
This is the template finder logic keep it updated with however we find stuff in rails currently this very similar to the logic in ActionBase :: Base . render for options file
template_name
<not_specific>
partial
<not_specific>