Sha256: ae94c28aa24d680594ace86d28c2fff307c0a14ce61115f8bd3299839cdfe2ad

Contents?: true

Size: 315 Bytes

Versions: 41

Compression:

Stored size: 315 Bytes

Contents

module NavigationHelpers
  module Refinery
    module Resources
      def path_to(page_name)
        case page_name
        when /the list of files/
          admin_resources_path

        when /the new file form/
          new_admin_resource_path
        else
          nil
        end
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
refinerycms-resources-0.9.9.12 features/support/paths.rb
refinerycms-resources-0.9.9.11 features/support/paths.rb
refinerycms-resources-0.9.9.10 features/support/paths.rb
refinerycms-resources-0.9.9.9 features/support/paths.rb
refinerycms-resources-0.9.9.8 features/support/paths.rb
refinerycms-resources-0.9.9.7 features/support/paths.rb
refinerycms-resources-0.9.9.5 features/support/paths.rb
refinerycms-resources-0.9.9.4 features/support/paths.rb
refinerycms-resources-0.9.9.3 features/support/paths.rb
refinerycms-resources-0.9.9.2 features/support/paths.rb
refinerycms-resources-0.9.9.1 features/support/paths.rb
refinerycms-0.9.9 resources/features/support/paths.rb
refinerycms-0.9.8.9 vendor/refinerycms/resources/features/support/paths.rb
refinerycms-0.9.8.8 vendor/refinerycms/resources/features/support/paths.rb
refinerycms-0.9.8.7 vendor/refinerycms/resources/features/support/paths.rb
refinerycms-0.9.8.6 vendor/refinerycms/resources/features/support/paths.rb
refinerycms-0.9.8.5 vendor/refinerycms/resources/features/support/paths.rb
refinerycms-0.9.8.4 vendor/refinerycms/resources/features/support/paths.rb
refinerycms-0.9.8.3 vendor/refinerycms/resources/features/support/paths.rb
refinerycms-0.9.8.2 vendor/refinerycms/resources/features/support/paths.rb