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

Add template whitelist for page tabs. #1943

Merged
merged 2 commits into from
Sep 14, 2012
Merged

Add template whitelist for page tabs. #1943

merged 2 commits into from
Sep 14, 2012

Commits on Sep 14, 2012

  1. Add template whitelist for page tabs.

    jokklan authored and parndt committed Sep 14, 2012
    Configuration menu
    Copy the full SHA
    3b2633c View commit details
    Browse the repository at this point in the history
  2. When registering tab return an instance of itself.

    Main reason for this change is specs. It's so much easier to get ahold
    of the tab I just registered than to select it from Refinery::Pages.tabs array.
    
    * Add specs for Refinery::Pages::Tab.
    * Return tabs incase user isn't using view_templates.
    * Removed attr_accessor from Refinery::Pages module because it's not
    needed and it's not even working that way.
    ugisozols authored and parndt committed Sep 14, 2012
    Configuration menu
    Copy the full SHA
    feb2a7a View commit details
    Browse the repository at this point in the history