Sha256: abb7ec789f56eafe0f3f4e27013e2facaa1f9bf0c0320ee55b261c688e45714d

Contents?: true

Size: 880 Bytes

Versions: 11

Compression:

Stored size: 880 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

11 entries across 11 versions & 1 rubygems

Version Path
fat_free_crm-0.13.6 spec/features/support/paths.rb
fat_free_crm-0.13.5 spec/features/support/paths.rb
fat_free_crm-0.13.4 spec/features/support/paths.rb
fat_free_crm-0.13.3 spec/features/support/paths.rb
fat_free_crm-0.13.2 spec/features/support/paths.rb
fat_free_crm-0.12.3 spec/features/support/paths.rb
fat_free_crm-0.12.2 spec/features/support/paths.rb
fat_free_crm-0.13.1 spec/features/support/paths.rb
fat_free_crm-0.12.1 spec/features/support/paths.rb
fat_free_crm-0.13.0 spec/features/support/paths.rb
fat_free_crm-0.12.0 spec/features/support/paths.rb