Message from discussion
Missing template projects/index, application/index ?
Date: Sun, 23 Sep 2012 14:32:48 -0700 (PDT)
From: wragen22 <bradwr...@gmail.com>
To: rubyonrails-talk@googlegroups.com
Message-Id: <505c9a27-4b3f-462e-a83c-2c88d42a8aec@googlegroups.com>
In-Reply-To: <5541cd58-770d-4abb-9910-43fe702a7e73@googlegroups.com>
References: <5541cd58-770d-4abb-9910-43fe702a7e73@googlegroups.com>
Subject: Re: Missing template projects/index, application/index ?
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_1919_577018.1348435968380"
------=_Part_1919_577018.1348435968380
Content-Type: multipart/alternative;
boundary="----=_Part_1920_719873.1348435968380"
------=_Part_1920_719873.1348435968380
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
anybody?
On Saturday, September 22, 2012 5:38:27 PM UTC-7, wragen22 wrote:
>
> Getting this issue...even though I have my views there in both the
> projects and application. Also getting a routes issue "No route matches
> [GET] "/projects" when going to projects when I have root :to =>
> "projects#index" defined in my routes file.
>
> Any idea?
>
> 1) Creating Projects can create a project
> Failure/Error: visit '/'
> ActionView::MissingTemplate:
> Missing template projects/index, application/index with
> {:handlers=>[:builder, :coffee, :erb], :locale=>[:en], :formats=>[:html]}.
> Searched in:
> * "/Users/bradwrage/webapps/ticketee/app/views"
> # ./spec/integration/creating_projects_spec.rb:4
>
> Finished in 0.10653 seconds
> 1 example, 1 failure
>
> Failed examples:
>
> rspec ./spec/integration/creating_projects_spec.rb:3 # Creating Projects
> can create a project
>
> Randomized with seed 62008
>
>
------=_Part_1920_719873.1348435968380
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
anybody?<br><br>On Saturday, September 22, 2012 5:38:27 PM UTC-7, wragen22 =
wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8=
ex;border-left: 1px #ccc solid;padding-left: 1ex;">Getting this issue...eve=
n though I have my views there in both the projects and application. =
Also getting a routes issue "No route matches [GET] "/projects" when going =
to projects when I have root :to =3D> "projects#index" defined in m=
y routes file.<div><br></div><div>Any idea?<br><div><br></div><div><blockqu=
ote style=3D"margin:0 0 0 40px;border:none;padding:0px"><div><div> 1) =
Creating Projects can create a project</div><div> Failur=
e/Error: visit '/'</div><div> ActionView::MissingTemplat=
e:</div><div> Missing template projects/index, ap=
plication/index with {:handlers=3D>[:builder, :coffee, :erb], :locale=3D=
>[:en], :formats=3D>[:html]}. Searched in:</div><div> &n=
bsp; * "/Users/bradwrage/webapps/<wbr>ticketee/app/views"</div=
><div> # ./spec/integration/creating_<wbr>projects_spec.=
rb:4</div><div><br></div><div>Finished in 0.10653 seconds</div><div>1 examp=
le, 1 failure</div><div><br></div><div>Failed examples:</div><div><br></div=
><div>rspec ./spec/integration/creating_<wbr>projects_spec.rb:3 # Creating =
Projects can create a project</div><div><br></div><div>Randomized with seed=
62008</div></div></blockquote></div></div></blockquote>
------=_Part_1920_719873.1348435968380--
------=_Part_1919_577018.1348435968380--