Sha256: d5ca6cbd414c8b90e4bab90659f23475dd602b08efae394e381ccd65eed373f0

Contents?: true

Size: 907 Bytes

Versions: 10

Compression:

Stored size: 907 Bytes

Contents

# frozen_string_literal: true

# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
module NavigationHelpers
  # Put helper methods related to the paths in your application here.

  def homepage
    "/"
  end

  def accounts_page
    accounts_path
  end

  def leads_page
    leads_path
  end

  def opportunities_page
    opportunities_path
  end

  def contacts_page
    contacts_path
  end

  def campaigns_page
    campaigns_path
  end

  def tasks_page
    tasks_path
  end

  def groups_page
    admin_groups_path
  end

  def opportunity_overview_page
    opportunities_overview_users_path
  end
end

RSpec.configuration.include NavigationHelpers, type: :feature

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fat_free_crm-0.20.1 spec/features/support/paths.rb
fat_free_crm-0.20.0 spec/features/support/paths.rb
fat_free_crm-0.19.2 spec/features/support/paths.rb
fat_free_crm-0.19.0 spec/features/support/paths.rb
fat_free_crm-0.18.2 spec/features/support/paths.rb
fat_free_crm-0.17.3 spec/features/support/paths.rb
fat_free_crm-0.18.1 spec/features/support/paths.rb
fat_free_crm-0.18.0 spec/features/support/paths.rb
fat_free_crm-0.17.2 spec/features/support/paths.rb
fat_free_crm-0.17.1 spec/features/support/paths.rb