removed some pages
This commit is contained in:
@@ -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 }
|
my_account.item :sign_out, I18n.t('.shared.topnavigation.sign_out'), destroy_supporter_session_path, link_html: { 'data-method' => :delete }
|
||||||
end
|
end
|
||||||
else
|
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
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -11,10 +11,10 @@ Rails.application.routes.draw do
|
|||||||
end
|
end
|
||||||
|
|
||||||
localized do
|
localized do
|
||||||
resources :greendays
|
#resources :greendays
|
||||||
get '/initiative_text', to: 'pages#show', as: :initiative_text, page: 'initiative_text'
|
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 '/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
|
end
|
||||||
|
|
||||||
get '/cities_autocomplete', to: 'cities_autocomplete#index', as: :cities_autocomplete
|
get '/cities_autocomplete', to: 'cities_autocomplete#index', as: :cities_autocomplete
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
|
|
||||||
RSpec.describe "Greendays", type: :request do
|
RSpec.describe "Greendays", pending: true, type: :request do
|
||||||
describe "GET /greendays" do
|
describe "GET /greendays" do
|
||||||
it "works! (now write some real specs)" do
|
it "works! (now write some real specs)" do
|
||||||
get greendays_path
|
get greendays_path
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
|
|
||||||
RSpec.describe "greendays/edit", type: :view do
|
RSpec.describe "greendays/edit", pending: true, type: :view do
|
||||||
before(:each) do
|
before(:each) do
|
||||||
@greenday = assign(:greenday, Greenday.create!(
|
@greenday = assign(:greenday, Greenday.create!(
|
||||||
:title => "MyString",
|
:title => "MyString",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
|
|
||||||
RSpec.describe 'greendays/index' do
|
RSpec.describe 'greendays/index', pending: true do
|
||||||
before(:each) do
|
before(:each) do
|
||||||
assign(:greendays, [
|
assign(:greendays, [
|
||||||
Greenday.create!(
|
Greenday.create!(
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
|
|
||||||
RSpec.describe "greendays/new", type: :view do
|
RSpec.describe "greendays/new", pending: true, type: :view do
|
||||||
before(:each) do
|
before(:each) do
|
||||||
assign(:greenday, Greenday.new(
|
assign(:greenday, Greenday.new(
|
||||||
:title => "MyString",
|
:title => "MyString",
|
||||||
|
|||||||
Reference in New Issue
Block a user