Skip to content

Commit

Permalink
fixed resources command in routes for staffcos, test green
Browse files Browse the repository at this point in the history
  • Loading branch information
RhonGabriel committed Nov 2, 2018
1 parent 04ec282 commit 490a981
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/partials/_sidebar.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
%button.zdh-button= t :jobs
%button.zdh-button= t :hospitals
%button.zdh-button
= link_to "Staffing Companies", staffcos_index_path
= link_to "Staffing Companies", staffcos_path
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Rails.application.routes.draw do
root controller: :jobs, action: :index
resources controller: :staffcos, only: :index
resources :staffcos, only: :index
resources :hospitals, only: :index
scope '(:locale)', locale: /en|sv/ do
end
Expand Down
2 changes: 1 addition & 1 deletion features/rsc_can_see_a_dashboard.feature
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ Feature: RSC Dashboard
And I click the "Svenska" link
Then I should see "Jobb" within the "#sidebar" section
And I should see "Sjukhus" within the "#sidebar" section
And I should see "Bemanningsföretag" within the "#sidebar" section
And I should see "Staffing Companies" within the "#sidebar" section

0 comments on commit 490a981

Please sign in to comment.