Add template whitelist for page tabs. #1943

Merged
merged 2 commits into from Sep 14, 2012

3 participants

@ugisozols
Refinery member

Original pull request - #1753

jokklan and others added some commits Jun 13, 2012
@jokklan jokklan Add template whitelist for page tabs. 3b2633c
@ugisozols ugisozols 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.
feb2a7a
@parndt parndt merged commit feb2a7a into master Sep 14, 2012

1 check was pending

Details default The Travis build is in progress
@ugisozols ugisozols added a commit that referenced this pull request Sep 14, 2012
@ugisozols ugisozols Add note to changelog about #1943. 63ab0a7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment