Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

Only having one page (but having it disabled) results in a goofy bug #29

Open
@abutcher

Description

@abutcher

Started GET "/" for 127.2.104.1 at 2014-03-10 19:04:47 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 500 Internal Server Error in 5ms

ActionView::Template::Error (undefined method `id' for nil:NilClass):
37:
38: <% if [email protected]? %>
39:


  • 40: <%= link_to("/pages/#{@first.id}/cycle", {:class => 'btn btn-small btn-success', :id => 'play', :rel => 'tooltip', :title => 'cycle pages'}) do %>
    41: <% end %>
    42:

  • 43: <% end %>
    app/views/home/index.html.erb:40

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Type

      No type

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions