Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Controller] Adds Route Helper Methods to Controller #362

Merged
merged 4 commits into from
Nov 8, 2017

Commits on Nov 5, 2017

  1. Adds Route Helper Methods to Controller

    > As a developer I want to have access to the current matched
    route information such as the Action, Controller, Resource
    and Scope accessed.
    
    This adds a Route helper file
    - Includes the following methods route_action, route_controller,
    route_resource, route_scope in the controller
    
    ### Alternate Design
    
    I thought of using a different name such as action_name, controller_name
    but it seemed more explicit to have `route_` prefix to hint the user where is
    this information is coming from.
    eliasjpr committed Nov 5, 2017
    Configuration menu
    Copy the full SHA
    27d90d0 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2017

  1. fixup! Adds Route Helper Methods to Controller

    Elias J. Perez committed Nov 6, 2017
    Configuration menu
    Copy the full SHA
    0300ad2 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2017

  1. Configuration menu
    Copy the full SHA
    ad725fb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    34e9630 View commit details
    Browse the repository at this point in the history