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

Conversation

ugisozols
Copy link
Member

Original pull request - #1753

jokklan and others added 2 commits September 14, 2012 16:32
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.
@parndt parndt merged commit feb2a7a into master Sep 14, 2012
ugisozols added a commit that referenced this pull request Sep 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants