Displaying 2 results from an estimated 2 matches for "welcome_index".
2006 Jan 03
1
RequireResourceHelper for JS and CSS
...roller called
''index.rhtml'', (and that each of the files actually exists), I can
now assume that this HTML will be present in the layout:
<script src="/javascripts/welcome.js" type="text/javascript"></script>
<script src="/javascripts/welcome_index.js" type="text/javascript"></
script>
<link href="/stylesheets/welcome.css" media="screen"
rel="Stylesheet" type="text/css" />
<link href="/stylesheets/welcome_index.css" media="screen"
rel="Sty...
2014 May 16
0
(Beginner) ActionController::UrlGenerationError - No route matches
..., controller: new_article_path %>
and this raises the exception
ActionController::UrlGenerationError in Articles#index
No route matches {:action=>"index", :controller=>"articles/new"}
The helper new_article_path returns 'articles/new'. My routes are these:
welcome_index GET /welcome/index(.:format) welcome#index
articles GET /articles(.:format) articles#index
POST /articles(.:format) articles#create
new_article GET /articles/new(.:format) articles#new
edit_article GET /articles/:id/edit(.:format) artic...