Sha256: 574b21251b96792f639631fbbad9fffc5dc7e0d7109bcc3f13b7281e6ae87e19

Contents?: true

Size: 309 Bytes

Versions: 39

Compression:

Stored size: 309 Bytes

Contents

module NavigationHelpers
  module Refinery
    module Images
      def path_to(page_name)
        case page_name
        when /the list of images/
          admin_images_path

         when /the new image form/
          new_admin_image_path
        else
          nil
        end
      end
    end
  end
end

Version data entries

39 entries across 39 versions & 2 rubygems

Version Path
refinerycms-images-1.0.11 features/support/paths.rb
refinerycms-images-1.0.10 features/support/paths.rb
refinerycms-images-1.0.9 features/support/paths.rb
refinerycms-images-1.0.8 features/support/paths.rb
refinerycms-images-1.0.7 features/support/paths.rb
refinerycms-images-1.0.5 features/support/paths.rb
refinerycms-images-1.0.4 features/support/paths.rb
refinerycms-images-1.0.3 features/support/paths.rb
refinerycms-images-1.0.1 features/support/paths.rb
refinerycms-images-1.0.0 features/support/paths.rb
refinerycms-images-0.9.9.22 features/support/paths.rb
refinerycms-images-0.9.9.21 features/support/paths.rb
refinerycms-images-0.9.9.20 features/support/paths.rb
refinerycms-images-0.9.9.19 features/support/paths.rb
refinerycms-images-0.9.9.18 features/support/paths.rb
refinerycms-images-0.9.9.17 features/support/paths.rb
refinerycms-images-0.9.9.16 features/support/paths.rb
refinerycms-images-0.9.9.15 features/support/paths.rb
refinerycms-images-0.9.9.14 features/support/paths.rb
refinerycms-images-0.9.9.13 features/support/paths.rb