Skip to content

Rails 3.1.3 rendering templates without controller action #4206

@cvshepherd

Description

@cvshepherd

Given this route: get 'login' => 'site#login' and the appropriate login template in views/site, Rails actually renders the template when going to http://myapp/login, without a login method defined in the site controller. I can't find any info on this, but I assume that this is not intended behavior. Or am I mistaken?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions