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-1.0.11 features/support/paths.rb
refinerycms-resources-1.0.10 features/support/paths.rb
refinerycms-resources-1.0.9 features/support/paths.rb
refinerycms-resources-1.0.8 features/support/paths.rb
refinerycms-resources-1.0.7 features/support/paths.rb
refinerycms-resources-1.0.5 features/support/paths.rb
refinerycms-resources-1.0.4 features/support/paths.rb
refinerycms-resources-1.0.3 features/support/paths.rb
refinerycms-resources-1.0.1 features/support/paths.rb
refinerycms-resources-1.0.0 features/support/paths.rb
refinerycms-resources-0.9.9.22 features/support/paths.rb
refinerycms-resources-0.9.9.21 features/support/paths.rb
refinerycms-resources-0.9.9.20 features/support/paths.rb
refinerycms-resources-0.9.9.19 features/support/paths.rb
refinerycms-resources-0.9.9.18 features/support/paths.rb
refinerycms-resources-0.9.9.17 features/support/paths.rb
refinerycms-resources-0.9.9.16 features/support/paths.rb
refinerycms-resources-0.9.9.15 features/support/paths.rb
refinerycms-resources-0.9.9.14 features/support/paths.rb
refinerycms-resources-0.9.9.13 features/support/paths.rb