Sha256: ea50d6e30bca04a9f46faff4a29cfd3d839768740c33fa74f5a61f9c30025e40

Contents?: true

Size: 876 Bytes

Versions: 15

Compression:

Stored size: 876 Bytes

Contents

# 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

15 entries across 15 versions & 2 rubygems

Version Path
fat_free_crm-0.14.2 spec/features/support/paths.rb
fat_free_crm-0.15.2 spec/features/support/paths.rb
fat_free_crm-0.16.4 spec/features/support/paths.rb
fat_free_crm-0.14.1 spec/features/support/paths.rb
fat_free_crm-0.15.1 spec/features/support/paths.rb
fat_free_crm-0.16.3 spec/features/support/paths.rb
fat_free_crm-0.16.2 spec/features/support/paths.rb
fat_free_crm-0.16.1 spec/features/support/paths.rb
fat_free_crm-0.16.0 spec/features/support/paths.rb
fat_free_crm-0.15.0 spec/features/support/paths.rb
fat_free_crm-0.15.0.beta.2 spec/features/support/paths.rb
fat_free_crm-0.15.0.beta spec/features/support/paths.rb
fat_free_crm-0.14.0 spec/features/support/paths.rb
reduced_fat_crm-0.15.0.beta spec/features/support/paths.rb
reduced_fat_crm-0.14.0 spec/features/support/paths.rb