removed some pages

This commit is contained in:
2019-06-28 18:50:50 +02:00
parent bac73000c1
commit 5ff8944e80
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ SimpleNavigation::Configuration.run do |navigation|
my_account.item :sign_out, I18n.t('.shared.topnavigation.sign_out'), destroy_supporter_session_path, link_html: { 'data-method' => :delete }
end
else
primary.item :home, I18n.t('.shared.topnavigation.sign_in'), new_supporter_session_path
# primary.item :home, I18n.t('.shared.topnavigation.sign_in'), new_supporter_session_path
end
+2 -2
View File
@@ -11,10 +11,10 @@ Rails.application.routes.draw do
end
localized do
resources :greendays
#resources :greendays
get '/initiative_text', to: 'pages#show', as: :initiative_text, page: 'initiative_text'
get '/terms_and_conditions', to: 'pages#show', as: :terms_and_conditions, page: 'terms_and_conditions'
get '/donation', to: 'pages#show', as: :donation, page: 'donation'
#get '/donation', to: 'pages#show', as: :donation, page: 'donation'
end
get '/cities_autocomplete', to: 'cities_autocomplete#index', as: :cities_autocomplete
+1 -1
View File
@@ -1,6 +1,6 @@
require 'rails_helper'
RSpec.describe "Greendays", type: :request do
RSpec.describe "Greendays", pending: true, type: :request do
describe "GET /greendays" do
it "works! (now write some real specs)" do
get greendays_path
+1 -1
View File
@@ -1,6 +1,6 @@
require 'rails_helper'
RSpec.describe "greendays/edit", type: :view do
RSpec.describe "greendays/edit", pending: true, type: :view do
before(:each) do
@greenday = assign(:greenday, Greenday.create!(
:title => "MyString",
+1 -1
View File
@@ -1,6 +1,6 @@
require 'rails_helper'
RSpec.describe 'greendays/index' do
RSpec.describe 'greendays/index', pending: true do
before(:each) do
assign(:greendays, [
Greenday.create!(
+1 -1
View File
@@ -1,6 +1,6 @@
require 'rails_helper'
RSpec.describe "greendays/new", type: :view do
RSpec.describe "greendays/new", pending: true, type: :view do
before(:each) do
assign(:greenday, Greenday.new(
:title => "MyString",