Sha256: 2331e706a9cc4bcc7ec9393a2a76591583ec4798c54562a061c21a5fd08cf2ca

Contents?: true

Size: 338 Bytes

Versions: 6

Compression:

Stored size: 338 Bytes

Contents

module NavigationHelpers
  module Refinery
    module VimeoVideos
      def path_to(page_name)
        case page_name
        when /the list of vimeo_videos/
          admin_vimeo_videos_path

         when /the new vimeo_video form/
          new_admin_vimeo_video_path
        else
          nil
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
refinerycms-vimeo-videos-0.1.7 features/support/paths.rb
refinerycms-vimeo-videos-0.1.6 features/support/paths.rb
refinerycms-vimeo-videos-0.1.5 features/support/paths.rb
refinerycms-vimeo-videos-0.1.4 features/support/paths.rb
refinerycms-vimeo-videos-0.1.3 features/support/paths.rb
refinerycms-vimeo-videos-0.1.2 features/support/paths.rb